diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-29 07:13:53 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-29 07:13:53 +0800 |
commit | 06292107d756f0b25805f819cd276e4b6303ccb0 (patch) | |
tree | a336439564c418556436941dfa8220d30b13a35f /ui/app/components/pending-tx | |
parent | 66ed4dfaa31be826f0d5a4a34410e34eca34d007 (diff) | |
download | tangerine-wallet-browser-06292107d756f0b25805f819cd276e4b6303ccb0.tar tangerine-wallet-browser-06292107d756f0b25805f819cd276e4b6303ccb0.tar.gz tangerine-wallet-browser-06292107d756f0b25805f819cd276e4b6303ccb0.tar.bz2 tangerine-wallet-browser-06292107d756f0b25805f819cd276e4b6303ccb0.tar.lz tangerine-wallet-browser-06292107d756f0b25805f819cd276e4b6303ccb0.tar.xz tangerine-wallet-browser-06292107d756f0b25805f819cd276e4b6303ccb0.tar.zst tangerine-wallet-browser-06292107d756f0b25805f819cd276e4b6303ccb0.zip |
Always set currency to USD on app mount
Diffstat (limited to 'ui/app/components/pending-tx')
-rw-r--r-- | ui/app/components/pending-tx/confirm-deploy-contract.js | 1 | ||||
-rw-r--r-- | ui/app/components/pending-tx/confirm-send-ether.js | 1 | ||||
-rw-r--r-- | ui/app/components/pending-tx/index.js | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/ui/app/components/pending-tx/confirm-deploy-contract.js b/ui/app/components/pending-tx/confirm-deploy-contract.js index 89a0389d7..386e14afe 100644 --- a/ui/app/components/pending-tx/confirm-deploy-contract.js +++ b/ui/app/components/pending-tx/confirm-deploy-contract.js @@ -33,7 +33,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 })), } diff --git a/ui/app/components/pending-tx/confirm-send-ether.js b/ui/app/components/pending-tx/confirm-send-ether.js index b03ec0552..330a55cce 100644 --- a/ui/app/components/pending-tx/confirm-send-ether.js +++ b/ui/app/components/pending-tx/confirm-send-ether.js @@ -32,7 +32,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 })), } diff --git a/ui/app/components/pending-tx/index.js b/ui/app/components/pending-tx/index.js index b7dd50ff1..770fb1dfd 100644 --- a/ui/app/components/pending-tx/index.js +++ b/ui/app/components/pending-tx/index.js @@ -36,7 +36,7 @@ function mapStateToProps (state) { function mapDispatchToProps (dispatch) { return { - setCurrentCurrencyToUSD: () => dispatch(actions.setCurrentCurrency('USD')), + setCurrentCurrencyToUSD: () => dispatch(actions.setCurrentCurrency('usd')), backToAccountDetail: address => dispatch(actions.backToAccountDetail(address)), cancelTransaction: ({ id }) => dispatch(actions.cancelTx({ id })), } |