Skip to content

Commit

Permalink
fix(ts): Fix ts types
Browse files Browse the repository at this point in the history
desc: was failing in pipeline
  • Loading branch information
anurag-dhamala committed Nov 5, 2023
1 parent 54e6c4c commit b87b48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/blog/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const description = AppConfig.description;

<Base head={{title, description}}>
<div class="mt-6">
<p class="font-bold text-xl mb-6">{post[0].frontmatter.title}</p>
<p class="font-bold text-xl mb-6">{post?.[0]?.frontmatter.title}</p>
</div>
<Content/>

Expand Down

0 comments on commit b87b48d

Please sign in to comment.