Skip to content

Commit

Permalink
fixed build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
emilkrebs committed Jul 20, 2024
1 parent 82bca82 commit 38b2dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function RenderMarkdown(props: MarkdownProps) {
h1: ({ node, ...props }) => <h1 className="text-2xl font-bold uppercase w-full" {...props} />,
h2: ({ node, ...props }) => <h2 className="text-xl font-bold w-full mt-4 mb-2" {...props} />,
h3: ({ node, ...props }) => <h3 className="text-lg font-bold w-full mt-4 mb-2" {...props} />,
a: ({ node, ...props }) => <Link className="hover:underline" {...props} />,
a: ({ node, ...props }) => <Link className="hover:underline" {...props} href={props.href ?? "#"} />,
p: ({ node, ...props }) => <p className="text-base w-full" {...props} />,
}} >{props.content}</Markdown>
);
Expand Down

0 comments on commit 38b2dd2

Please sign in to comment.