Skip to content

Commit

Permalink
refactor a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceau committed Apr 16, 2024
1 parent be7b785 commit 8a29beb
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ export const MarkdownContent = ({ content, className }: { className?: string; co
<ReactMarkdown
skipHtml={true}
renderers={{
code: ({ value }: { value: string }) => {
return <CodeBlock content={value} />;
},
code: ({ value }: { value: string }) => <CodeBlock content={value} />,
link: ({ href, children }) => (
<A href={href} title={href}>
{children}
Expand Down

0 comments on commit 8a29beb

Please sign in to comment.