feat(ui): disable button when loading state is active

This commit is contained in:
Brian McGee
2025-08-28 16:43:23 +01:00
parent 2ed3608e34
commit f9143f8a5d

View File

@@ -68,6 +68,7 @@ export const Button = (props: ButtonProps) => {
},
)}
onClick={props.onClick}
disabled={props.disabled || props.loading}
{...other}
>
<Loader