AykutSarac 2 éve
szülő
commit
df648c7809
1 módosított fájl, 1 hozzáadás és 1 törlés
  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}