Skip to content

Commit

Permalink
Update component.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
dhairyadwivedi committed Mar 15, 2023
1 parent 4ad0915 commit 63b7b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content-transformer/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export { NodeProps, Overrides };

export const Renderers: Record<keyof Overrides, (props: NodeProps) => JSX.Element> = {
link: (props) => (
<a href={props.metadata?.href}>
<a href={props.metadata?.href} rel={props.metadata?.rel} target={props.metadata?.target}>
<NodeContent {...props} />
</a>
),
Expand Down

0 comments on commit 63b7b70

Please # to comment.