aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/metamask.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-03-15 08:06:16 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-03-15 08:06:16 +0800
commit37ffcfcf0e518ed8843022cd079ce09d0b2239ff (patch)
treec7cedcd1201adf87b6afffb6142f2f12b0a8324a /ui/app/reducers/metamask.js
parent177f2dc948f794f6796d74e3ef2a581048625bb1 (diff)
downloadtangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar
tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.gz
tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.bz2
tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.lz
tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.xz
tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.zst
tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.zip
Rename variables to proper currency state variables.
Diffstat (limited to 'ui/app/reducers/metamask.js')
-rw-r--r--ui/app/reducers/metamask.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index a3c07d977..269f8d272 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -13,9 +13,6 @@ function reduceMetamask (state, action) {
rpcTarget: 'https://rawtestrpc.metamask.io/',
identities: {},
unapprovedTxs: {},
- currentFiat: 'USD',
- conversionRate: 0,
- conversionDate: 'N/A',
noActiveNotices: true,
lastUnreadNotice: undefined,
frequentRpcList: [],
@@ -126,7 +123,7 @@ function reduceMetamask (state, action) {
case actions.SET_CURRENT_FIAT:
return extend(metamaskState, {
- currentFiat: action.value.currentFiat,
+ currentCurrency: action.value.currentCurrency,
conversionRate: action.value.conversionRate,
conversionDate: action.value.conversionDate,
})