Skip to content
Permalink
Browse files

Update hide-token-confirmation-modal.js to use new modalState schema (M…

…etaMask#4482)

* Update hide-token-confirmation-modal.js to use new modalState schema (added in 41e38fe).

* Fix modalState props
  • Loading branch information...
danjm authored and alextsg committed Jun 4, 2018
1 parent ddce3d1 commit 3b6e96bac918925c4edc674e26dba8cc5feb1324
@@ -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,
}
}

@@ -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,
}
}

@@ -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,
}
}

0 comments on commit 3b6e96b

Please sign in to comment.
You can’t perform that action at this time.