Skip to content

Commit

Permalink
Fix insights prop passed to Link
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse committed Jan 21, 2025
1 parent b6c3870 commit 23b8885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gitbook/src/components/primitives/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const Link = React.forwardRef(function Link(
}

return (
<NextLink ref={ref} {...props} onClick={onClick}>
<NextLink ref={ref} href={href} prefetch={prefetch} {...domProps} onClick={onClick}>
{children}
</NextLink>
);
Expand Down

0 comments on commit 23b8885

Please sign in to comment.