Browse Source

Fix Send modal forbid close while signing transaction

master
meriadec 7 years ago
parent
commit
98a48be58b
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 8
      src/components/modals/Send/index.js

8
src/components/modals/Send/index.js

@ -280,10 +280,14 @@ class SendModal extends Component<Props, State<*>> {
preventBackdropClick={!canClose} preventBackdropClick={!canClose}
render={({ onClose }) => ( render={({ onClose }) => (
<ModalBody <ModalBody
onClose={() => { onClose={
canClose
? () => {
this.handleReset() this.handleReset()
onClose() onClose()
}} }
: undefined
}
> >
<PollCounterValuesOnMount /> <PollCounterValuesOnMount />
<SyncSkipUnderPriority priority={80} /> <SyncSkipUnderPriority priority={80} />

Loading…
Cancel
Save