diff --git a/src/app/components/LoadingButton.js b/src/app/components/LoadingButton.js index ed958eb..043906a 100644 --- a/src/app/components/LoadingButton.js +++ b/src/app/components/LoadingButton.js @@ -10,7 +10,6 @@ const useStyles = makeStyles(theme => ({ position: 'relative', }, progress: { - // color: green[500], position: 'absolute', top: '50%', left: '50%', @@ -22,8 +21,8 @@ const useStyles = makeStyles(theme => ({ function LoadingButton(props) { const classes = useStyles(); - const { loading, noDisabled, className, buttonClassName, progressProps = {}, ...buttonProps } = props; - const disabled = !noDisabled && (loading || buttonProps.disabled); + const { loading, className, ...buttonProps } = props; + const disabled = (loading || buttonProps.disabled); return (