feat(ui): disable button when loading state is active
This commit is contained in:
@@ -68,6 +68,7 @@ export const Button = (props: ButtonProps) => {
|
||||
},
|
||||
)}
|
||||
onClick={props.onClick}
|
||||
disabled={props.disabled || props.loading}
|
||||
{...other}
|
||||
>
|
||||
<Loader
|
||||
|
||||
Reference in New Issue
Block a user