Disable link prefetch

This commit is contained in:
Stan Wohlwend 2024-04-11 16:42:29 +02:00
parent 80238c5e3e
commit bab6fd8d64

View File

@ -44,7 +44,7 @@ const theme = extendTheme({
JoyLink: {
defaultProps: {
// eslint-disable-next-line react/display-name
component: React.forwardRef((props, ref) => (<NextLink {...props} ref={ref} />)),
component: React.forwardRef((props, ref) => (<NextLink {...props} ref={ref} prefetch={false} />)),
...{
"data-n2-clickable": true,
} as any,