Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #23 from otoyo/fix-code-language-pass
Browse files Browse the repository at this point in the history
Fix language pass
  • Loading branch information
otoyo committed Jan 27, 2022
2 parents eae801c + 1a7fffb commit 2b92639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/blog/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const RenderPost = ({
toRender.push(
<components.Code
key={block.Id}
language={block.Language || ''}
language={block.Code.Language || ''}
caption={block.Code.Caption}
>
{block.Code.Text.map(
Expand Down

1 comment on commit 2b92639

@vercel
Copy link

@vercel vercel bot commented on 2b92639 Jan 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.