Browse Source

Correct reset state when retrying verify address

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

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

@ -122,7 +122,7 @@ class ReceiveModal extends PureComponent<Props, State> {
}
}
handleRetry = () => this.setState({ isAddressVerified: null, errorSteps: [] })
handleRetry = () => this.setState({ isAddressVerified: null, isAppOpened: false, errorSteps: [] })
handleReset = () => this.setState({ ...INITIAL_STATE })
handleCloseModal = () => this.props.closeModal(MODAL_RECEIVE)
handleStepChange = step => this.setState({ stepId: step.id })

Loading…
Cancel
Save