aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/deposit-ether-modal.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2018-03-08 05:39:44 +0800
committerDan Finlay <dan@danfinlay.com>2018-03-08 05:39:44 +0800
commitd0ba2d2d9428f13208ea54e9fa78f122ed42549b (patch)
tree7786903649241ab688b5622719cae34f804abef7 /ui/app/components/modals/deposit-ether-modal.js
parent423f084cb47d84e2e9063a6567454f83592f424b (diff)
parentca047b1ea0bd6778fc3b0c05b86ff23d0964f98d (diff)
downloadtangerine-wallet-browser-d0ba2d2d9428f13208ea54e9fa78f122ed42549b.tar.gz
tangerine-wallet-browser-d0ba2d2d9428f13208ea54e9fa78f122ed42549b.tar.zst
tangerine-wallet-browser-d0ba2d2d9428f13208ea54e9fa78f122ed42549b.zip
Merge branch 'master' into i3076-UseStorageLocalInstead
Diffstat (limited to 'ui/app/components/modals/deposit-ether-modal.js')
-rw-r--r--ui/app/components/modals/deposit-ether-modal.js5
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()
}