diff options
Diffstat (limited to 'src/components/atoms/buttons/button-link.tsx')
| -rw-r--r-- | src/components/atoms/buttons/button-link.tsx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/components/atoms/buttons/button-link.tsx b/src/components/atoms/buttons/button-link.tsx index 989f737..7182d94 100644 --- a/src/components/atoms/buttons/button-link.tsx +++ b/src/components/atoms/buttons/button-link.tsx @@ -63,13 +63,12 @@ const ButtonLink: FC<ButtonLinkProps> = ({ {children} </a> ) : ( - <Link href={target}> - <a - className={`${styles.btn} ${kindClass} ${shapeClass} ${className}`} - {...props} - > - {children} - </a> + <Link + {...props} + className={`${styles.btn} ${kindClass} ${shapeClass} ${className}`} + href={target} + > + {children} </Link> ); }; |
