add legacyBehavior prop

This commit is contained in:
Paul Wackerow 2022-12-12 20:26:54 +01:00 committed by GitHub
parent 657083d7f2
commit fbd09362f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'