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}