Browse Source

Fix Send modal forbid close while signing transaction, etc.

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

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

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

Loading…
Cancel
Save