AykutSarac 2 سال پیش
والد
کامیت
df648c7809
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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}