aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers.js
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-08-11 04:43:01 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-08-11 04:43:01 +0800
commit9c6dd9ef4953f6e421feb6e6684ef43da26f6b75 (patch)
tree309366cc31236440709705e0a9a9e7eb183801a3 /ui/app/reducers.js
parent667483ac2037bef5b412ce33f0d9bb0605d6c13b (diff)
downloadtangerine-wallet-browser-9c6dd9ef4953f6e421feb6e6684ef43da26f6b75.tar
tangerine-wallet-browser-9c6dd9ef4953f6e421feb6e6684ef43da26f6b75.tar.gz
tangerine-wallet-browser-9c6dd9ef4953f6e421feb6e6684ef43da26f6b75.tar.bz2
tangerine-wallet-browser-9c6dd9ef4953f6e421feb6e6684ef43da26f6b75.tar.lz
tangerine-wallet-browser-9c6dd9ef4953f6e421feb6e6684ef43da26f6b75.tar.xz
tangerine-wallet-browser-9c6dd9ef4953f6e421feb6e6684ef43da26f6b75.tar.zst
tangerine-wallet-browser-9c6dd9ef4953f6e421feb6e6684ef43da26f6b75.zip
Create "buy form" add shape shift
Diffstat (limited to 'ui/app/reducers.js')
-rw-r--r--ui/app/reducers.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/app/reducers.js b/ui/app/reducers.js
index 9243ddba4..a691cf614 100644
--- a/ui/app/reducers.js
+++ b/ui/app/reducers.js
@@ -7,6 +7,8 @@ const reduceIdentities = require('./reducers/identities')
const reduceMetamask = require('./reducers/metamask')
const reduceApp = require('./reducers/app')
+window.METAMASK_CACHED_LOG_STATE = null
+
module.exports = rootReducer
function rootReducer (state, action) {
@@ -35,5 +37,11 @@ function rootReducer (state, action) {
state.appState = reduceApp(state, action)
+ window.METAMASK_CACHED_LOG_STATE = state
return state
}
+
+window.logState = function() {
+ var stateString = JSON.stringify(window.METAMASK_CACHED_LOG_STATE, null, 2)
+ console.log(stateString)
+}