diff options
author | Dan <danjm.com@gmail.com> | 2017-10-19 10:09:26 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2017-10-20 03:00:54 +0800 |
commit | 332c7441b656ec82ebfba863e3feb4dbf365d67b (patch) | |
tree | 2ea0aece624fe6df97924c38a739efb302fffe79 /ui/app/components/pending-tx/index.js | |
parent | 59015cccef72210f828b344aaedde9b8dd31be3b (diff) | |
download | tangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.tar.gz tangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.tar.zst tangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.zip |
Get currency from state in account details, send and confirm screens.
Diffstat (limited to 'ui/app/components/pending-tx/index.js')
-rw-r--r-- | ui/app/components/pending-tx/index.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/app/components/pending-tx/index.js b/ui/app/components/pending-tx/index.js index 770fb1dfd..f4f6afb8f 100644 --- a/ui/app/components/pending-tx/index.js +++ b/ui/app/components/pending-tx/index.js @@ -36,7 +36,6 @@ function mapStateToProps (state) { function mapDispatchToProps (dispatch) { return { - setCurrentCurrencyToUSD: () => dispatch(actions.setCurrentCurrency('usd')), backToAccountDetail: address => dispatch(actions.backToAccountDetail(address)), cancelTransaction: ({ id }) => dispatch(actions.cancelTx({ id })), } @@ -58,8 +57,6 @@ PendingTx.prototype.componentWillMount = async function () { const txMeta = this.gatherTxMeta() const txParams = txMeta.txParams || {} - this.props.setCurrentCurrencyToUSD() - if (!txParams.to) { return this.setState({ transactionType: TX_TYPES.DEPLOY_CONTRACT, |