diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-06-05 07:13:32 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-06-05 07:13:32 +0800 |
commit | 3b6e96bac918925c4edc674e26dba8cc5feb1324 (patch) | |
tree | ce49ee05846197397b980037e8b7cacee8a50edc | |
parent | ddce3d148ef9323c209a7f963057297c6181f779 (diff) | |
download | tangerine-wallet-browser-3b6e96bac918925c4edc674e26dba8cc5feb1324.tar tangerine-wallet-browser-3b6e96bac918925c4edc674e26dba8cc5feb1324.tar.gz tangerine-wallet-browser-3b6e96bac918925c4edc674e26dba8cc5feb1324.tar.bz2 tangerine-wallet-browser-3b6e96bac918925c4edc674e26dba8cc5feb1324.tar.lz tangerine-wallet-browser-3b6e96bac918925c4edc674e26dba8cc5feb1324.tar.xz tangerine-wallet-browser-3b6e96bac918925c4edc674e26dba8cc5feb1324.tar.zst tangerine-wallet-browser-3b6e96bac918925c4edc674e26dba8cc5feb1324.zip |
Update hide-token-confirmation-modal.js to use new modalState schema (#4482)
* Update hide-token-confirmation-modal.js to use new modalState schema (added in 41e38fe55).
* Fix modalState props
-rw-r--r-- | ui/app/components/modals/edit-account-name-modal.js | 2 | ||||
-rw-r--r-- | ui/app/components/modals/hide-token-confirmation-modal.js | 2 | ||||
-rw-r--r-- | ui/app/components/modals/shapeshift-deposit-tx-modal.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/modals/edit-account-name-modal.js b/ui/app/components/modals/edit-account-name-modal.js index 5681a3cad..edced8725 100644 --- a/ui/app/components/modals/edit-account-name-modal.js +++ b/ui/app/components/modals/edit-account-name-modal.js @@ -9,7 +9,7 @@ const { getSelectedAccount } = require('../../selectors') function mapStateToProps (state) { return { selectedAccount: getSelectedAccount(state), - identity: state.appState.modal.modalState.identity, + identity: state.appState.modal.modalState.props.identity, } } diff --git a/ui/app/components/modals/hide-token-confirmation-modal.js b/ui/app/components/modals/hide-token-confirmation-modal.js index 72e9c84eb..1518fa9a0 100644 --- a/ui/app/components/modals/hide-token-confirmation-modal.js +++ b/ui/app/components/modals/hide-token-confirmation-modal.js @@ -9,7 +9,7 @@ const Identicon = require('../identicon') function mapStateToProps (state) { return { network: state.metamask.network, - token: state.appState.modal.modalState.token, + token: state.appState.modal.modalState.props.token, } } diff --git a/ui/app/components/modals/shapeshift-deposit-tx-modal.js b/ui/app/components/modals/shapeshift-deposit-tx-modal.js index 24af5a0de..242c7b89d 100644 --- a/ui/app/components/modals/shapeshift-deposit-tx-modal.js +++ b/ui/app/components/modals/shapeshift-deposit-tx-modal.js @@ -8,7 +8,7 @@ const AccountModalContainer = require('./account-modal-container') function mapStateToProps (state) { return { - Qr: state.appState.modal.modalState.Qr, + Qr: state.appState.modal.modalState.props.Qr, } } |