diff options
author | Dan <danjm.com@gmail.com> | 2018-03-09 13:37:27 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-03-09 13:37:27 +0800 |
commit | 81e72147ef829acbbed85bced7f0eb4533f2fb17 (patch) | |
tree | 0e13f8ea4e6fb80fe57e437a466e3f7ae04c6c22 /ui/app/components/modals/deposit-ether-modal.js | |
parent | 2d6b378bf8f8f0b23ef54b48118b61fb6c7deee1 (diff) | |
parent | f28bbe5b0392a9ae45f7f17fbc979ef796b27d16 (diff) | |
download | tangerine-wallet-browser-81e72147ef829acbbed85bced7f0eb4533f2fb17.tar.gz tangerine-wallet-browser-81e72147ef829acbbed85bced7f0eb4533f2fb17.tar.zst tangerine-wallet-browser-81e72147ef829acbbed85bced7f0eb4533f2fb17.zip |
Merge branch 'master' into retry-tx-refractor
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() } |