Fix links for next 13.
This commit is contained in:
@ -7,10 +7,10 @@ const CustomLink = ({ href, ...rest }) => {
|
||||
|
||||
if (isInternalLink) {
|
||||
return (
|
||||
<Link href={href}>
|
||||
<a {...rest} />
|
||||
</Link>
|
||||
)
|
||||
(<Link href={href} {...rest}>
|
||||
|
||||
</Link>)
|
||||
);
|
||||
}
|
||||
|
||||
if (isAnchorLink) {
|
||||
|
||||
Reference in New Issue
Block a user