Browse Source
Fix Send modal forbid close while signing transaction
master
meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
8 additions and
4 deletions
-
src/components/modals/Send/index.js
|
|
@ -280,10 +280,14 @@ class SendModal extends Component<Props, State<*>> { |
|
|
|
preventBackdropClick={!canClose} |
|
|
|
render={({ onClose }) => ( |
|
|
|
<ModalBody |
|
|
|
onClose={() => { |
|
|
|
this.handleReset() |
|
|
|
onClose() |
|
|
|
}} |
|
|
|
onClose={ |
|
|
|
canClose |
|
|
|
? () => { |
|
|
|
this.handleReset() |
|
|
|
onClose() |
|
|
|
} |
|
|
|
: undefined |
|
|
|
} |
|
|
|
> |
|
|
|
<PollCounterValuesOnMount /> |
|
|
|
<SyncSkipUnderPriority priority={80} /> |
|
|
|