Skip to content

Commit

Permalink
Disable button on submit
Browse files Browse the repository at this point in the history
  • Loading branch information
koutst committed Dec 12, 2024
1 parent d54e4f4 commit e9886f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/Modals/WithdrawalModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,9 @@ class WithdrawalModal extends Component {

<div className={css(styles.buttons)}>
<Button
disabled={!ethAccount || isUnderInvestigation}
disabled={
!ethAccount || isUnderInvestigation || !this.state.buttonEnabled
}
label={"Confirm"}
type="submit"
customButtonStyle={styles.button}
Expand Down

0 comments on commit e9886f6

Please sign in to comment.