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 (
   return (
     <StyledButton
     <StyledButton
-      as={link ? "a" : "button"}
       type="button"
       type="button"
+      as={link ? "a" : "button"}
       status={status ?? "PRIMARY"}
       status={status ?? "PRIMARY"}
       block={block}
       block={block}
       {...props}
       {...props}