diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-03-07 09:13:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 09:13:57 +0800 |
commit | 6a9ca29244f5e5234b338f93e1b1c1360a5446df (patch) | |
tree | e3f87f1e360648833913dc477d37b6a402223ded /ui/app/components/modals/deposit-ether-modal.js | |
parent | a4bd7992cd960b105f842e0e34637f2675a6665f (diff) | |
parent | 8e0131cbb52eae9d0fd07ac20d1e39bae99446e1 (diff) | |
download | tangerine-wallet-browser-6a9ca29244f5e5234b338f93e1b1c1360a5446df.tar.gz tangerine-wallet-browser-6a9ca29244f5e5234b338f93e1b1c1360a5446df.tar.zst tangerine-wallet-browser-6a9ca29244f5e5234b338f93e1b1c1360a5446df.zip |
Merge branch 'master' into ImportAccountMessageV2
Diffstat (limited to 'ui/app/components/modals/deposit-ether-modal.js')
-rw-r--r-- | ui/app/components/modals/deposit-ether-modal.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/components/modals/deposit-ether-modal.js b/ui/app/components/modals/deposit-ether-modal.js index 532d66653..7547dbcf5 100644 --- a/ui/app/components/modals/deposit-ether-modal.js +++ b/ui/app/components/modals/deposit-ether-modal.js @@ -33,6 +33,9 @@ function mapDispatchToProps (dispatch) { hideModal: () => { dispatch(actions.hideModal()) }, + hideWarning: () => { + dispatch(actions.hideWarning()) + }, showAccountDetailModal: () => { dispatch(actions.showModal({ name: 'ACCOUNT_DETAILS' })) }, @@ -119,6 +122,7 @@ DepositEtherModal.prototype.render = function () { h('div.deposit-ether-modal__header__close', { onClick: () => { this.setState({ buyingWithShapeshift: false }) + this.props.hideWarning() this.props.hideModal() }, }), @@ -179,6 +183,7 @@ DepositEtherModal.prototype.render = function () { } DepositEtherModal.prototype.goToAccountDetailsModal = function () { + this.props.hideWarning() this.props.hideModal() this.props.showAccountDetailModal() } |