aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers.js
diff options
context:
space:
mode:
authorDaijiro Wachi <daijiro.wachi@gmail.com>2017-10-31 03:08:10 +0800
committerDaijiro Wachi <daijiro.wachi@gmail.com>2017-10-31 03:08:10 +0800
commit657449916556d3e8db24dbfbf0355e84a9ea0b09 (patch)
tree63b905ecfe40c7fcc3094df5593f6cc8e2a95ad1 /ui/app/reducers.js
parent0bfa10e501f47197996002447a216f278d7e6eb5 (diff)
downloadtangerine-wallet-browser-657449916556d3e8db24dbfbf0355e84a9ea0b09.tar
tangerine-wallet-browser-657449916556d3e8db24dbfbf0355e84a9ea0b09.tar.gz
tangerine-wallet-browser-657449916556d3e8db24dbfbf0355e84a9ea0b09.tar.bz2
tangerine-wallet-browser-657449916556d3e8db24dbfbf0355e84a9ea0b09.tar.lz
tangerine-wallet-browser-657449916556d3e8db24dbfbf0355e84a9ea0b09.tar.xz
tangerine-wallet-browser-657449916556d3e8db24dbfbf0355e84a9ea0b09.tar.zst
tangerine-wallet-browser-657449916556d3e8db24dbfbf0355e84a9ea0b09.zip
Use const and fix lint warnings
Diffstat (limited to 'ui/app/reducers.js')
-rw-r--r--ui/app/reducers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/reducers.js b/ui/app/reducers.js
index 05136f70f..70b7e71dc 100644
--- a/ui/app/reducers.js
+++ b/ui/app/reducers.js
@@ -43,7 +43,7 @@ function rootReducer (state, action) {
}
window.logStateString = function (cb) {
- let state = window.METAMASK_CACHED_LOG_STATE
+ const state = window.METAMASK_CACHED_LOG_STATE
const version = global.platform.getVersion()
const browser = window.navigator.userAgent
return global.platform.getPlatformInfo((err, platform) => {
@@ -53,7 +53,7 @@ window.logStateString = function (cb) {
state.version = version
state.platform = platform
state.browser = browser
- let stateString = JSON.stringify(state, removeSeedWords, 2)
+ const stateString = JSON.stringify(state, removeSeedWords, 2)
return cb(null, stateString)
})
}