diff options
author | Daijiro Wachi <daijiro.wachi@gmail.com> | 2017-10-31 03:08:10 +0800 |
---|---|---|
committer | Daijiro Wachi <daijiro.wachi@gmail.com> | 2017-10-31 03:08:10 +0800 |
commit | 657449916556d3e8db24dbfbf0355e84a9ea0b09 (patch) | |
tree | 63b905ecfe40c7fcc3094df5593f6cc8e2a95ad1 | |
parent | 0bfa10e501f47197996002447a216f278d7e6eb5 (diff) | |
download | tangerine-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
-rw-r--r-- | ui/app/reducers.js | 4 |
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) }) } |