aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx/index.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-10-19 10:09:26 +0800
committerDan <danjm.com@gmail.com>2017-10-20 03:00:54 +0800
commit332c7441b656ec82ebfba863e3feb4dbf365d67b (patch)
tree2ea0aece624fe6df97924c38a739efb302fffe79 /ui/app/components/pending-tx/index.js
parent59015cccef72210f828b344aaedde9b8dd31be3b (diff)
downloadtangerine-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.js3
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,