rm a inside Link

This commit is contained in:
tmshv committed 2023-02-09 16:22:01 +05:00
1 parent 94f2634e56
commit 706c310458
9 files changed
+20 -34

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ export type ActiveLinkProps = {
export const ActiveLink: React.FC<ActiveLinkProps> = props => props.href
? (
<Link href={props.href}>
<a>{props.children}</a>
{props.children}
</Link>
) : (
<span style={props.activeStyle}>{props.children}</span>