AykutSarac 2 vuotta sitten
vanhempi
commit
df648c7809
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/components/Button/index.tsx

+ 1 - 1
src/components/Button/index.tsx

@@ -85,8 +85,8 @@ export const Button: React.FC<ButtonProps & ConditionalProps> = ({
 }) => {
   return (
     <StyledButton
-      as={link ? "a" : "button"}
       type="button"
+      as={link ? "a" : "button"}
       status={status ?? "PRIMARY"}
       block={block}
       {...props}