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

+2 -4
View File
@@ -39,10 +39,8 @@ export const Button: React.FC<ButtonProps> = ({ size = "default", theme = "defau
if (props.href) {
return (
<Link href={props.href}>
<a className={className} style={props.style}>
{props.children}
</a>
<Link href={props.href} className={className} style={props.style}>
{props.children}
</Link>
)
}