mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 18:25:21 -04:00
fix: Migrate code to next 13 breaking changes
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
dae099dfa8
commit
f89b28969f
10 changed files with 55 additions and 66 deletions
|
@ -32,10 +32,12 @@ export const HeaderNavLink: React.FC<PropsWithChildren<HeaderNavLinkProps>> = ({
|
|||
|
||||
return (
|
||||
<Nav.Item>
|
||||
<Link href={to} passHref={true}>
|
||||
<a className={`nav-link text-light ${activeClass} ${styles['nav-link']}`} href={to} {...cypressId(props)}>
|
||||
{children}
|
||||
</a>
|
||||
<Link
|
||||
href={to}
|
||||
passHref={true}
|
||||
className={`nav-link text-light ${activeClass} ${styles['nav-link']}`}
|
||||
{...cypressId(props)}>
|
||||
{children}
|
||||
</Link>
|
||||
</Nav.Item>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue