Skip to content

Commit

Permalink
chore: exclude node from props
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Nov 22, 2024
1 parent 81a413f commit 2d4a224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PubilcProse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const PublicProse = async ({ fileName }: { fileName: string }) => {
<main className="prose prose-neutral dark:prose-invert mx-auto max-w-prose py-16 prose-headings:font-display">
<Markdown
components={{
a: ({ ...props }) => (
a: ({ node, ...props }) => (
<Anchor href={props.href || ""} variant="highlighted" {...props} />
),
}}
Expand Down

0 comments on commit 2d4a224

Please sign in to comment.