diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-06-05 05:11:50 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-06-06 08:17:27 +0800 |
commit | 8b449b325d96ad28c346d87729c1ebd230b8d38e (patch) | |
tree | 44bbf35b74c390cc43257e1c7ea64247e3c5ab17 /ui | |
parent | c2e3194dbf4e2a3fd2bdffb3300ec0cd822dc78e (diff) | |
download | tangerine-wallet-browser-8b449b325d96ad28c346d87729c1ebd230b8d38e.tar tangerine-wallet-browser-8b449b325d96ad28c346d87729c1ebd230b8d38e.tar.gz tangerine-wallet-browser-8b449b325d96ad28c346d87729c1ebd230b8d38e.tar.bz2 tangerine-wallet-browser-8b449b325d96ad28c346d87729c1ebd230b8d38e.tar.lz tangerine-wallet-browser-8b449b325d96ad28c346d87729c1ebd230b8d38e.tar.xz tangerine-wallet-browser-8b449b325d96ad28c346d87729c1ebd230b8d38e.tar.zst tangerine-wallet-browser-8b449b325d96ad28c346d87729c1ebd230b8d38e.zip |
Remove unused identities reducer from UI
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/reducers.js | 7 | ||||
-rw-r--r-- | ui/app/reducers/identities.js | 15 |
2 files changed, 0 insertions, 22 deletions
diff --git a/ui/app/reducers.js b/ui/app/reducers.js index f155b2bf3..e3a3077d9 100644 --- a/ui/app/reducers.js +++ b/ui/app/reducers.js @@ -4,7 +4,6 @@ const copyToClipboard = require('copy-to-clipboard') // // Sub-Reducers take in the complete state and return their sub-state // -const reduceIdentities = require('./reducers/identities') const reduceMetamask = require('./reducers/metamask') const reduceApp = require('./reducers/app') const reduceLocale = require('./reducers/locale') @@ -22,12 +21,6 @@ function rootReducer (state, action) { } // - // Identities - // - - state.identities = reduceIdentities(state, action) - - // // MetaMask // diff --git a/ui/app/reducers/identities.js b/ui/app/reducers/identities.js deleted file mode 100644 index 341a404e7..000000000 --- a/ui/app/reducers/identities.js +++ /dev/null @@ -1,15 +0,0 @@ -const extend = require('xtend') - -module.exports = reduceIdentities - -function reduceIdentities (state, action) { - // clone + defaults - var idState = extend({ - - }, state.identities) - - switch (action.type) { - default: - return idState - } -} |