Skip to content

Commit

Permalink
fix: feed language
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jun 28, 2024
1 parent 155cc1a commit ce7bc0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/feed/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ export async function GET() {
}
return (
<pre key={state.key}>
<code className={node.lang ? `lang-${node.lang}` : ''}>
<code
className={node.lang ? `language-${node.lang}` : ''}
>
{node.content}
</code>
</pre>
Expand Down

0 comments on commit ce7bc0d

Please sign in to comment.