add legacyBehavior prop

pull/26459/head^2
Paul Wackerow 2 years ago committed by GitHub
parent 657083d7f2
commit fbd09362f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/UI/docs/LinksList.tsx

@ -25,7 +25,7 @@ export const LinksList: FC<LinksListProps> = ({ links, toggleMobileAccordion })
_hover={{ background: 'primary', color: 'bg' }}
data-group
>
<NextLink href={to} passHref key={id} onClick={toggleMobileAccordion}>
<NextLink href={to} passHref key={id} onClick={toggleMobileAccordion} legacyBehavior>
<Link textDecoration='none !important'>
<Text
textStyle='docs-nav-links'

Loading…
Cancel
Save