feat: disable loading button

This commit is contained in:
DIYgod 2022-11-03 23:59:34 +00:00
parent 32874d22b3
commit b4fb66f5a7
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export const Button = React.forwardRef<
{...props}
ref={ref}
type={type || "button"}
disabled={isDisabled}
disabled={isDisabled || isLoading}
className={clsx(
className,
"button",