aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/identities.js
diff options
context:
space:
mode:
authorDan Finlay <somniac@me.com>2016-04-14 07:20:37 +0800
committerDan Finlay <somniac@me.com>2016-04-14 07:20:37 +0800
commit54f13b31ecceadf3571765cb9e022b1108a68c36 (patch)
tree8d5ce999cac9b9f32f7e76fe749f185019a06f10 /ui/app/reducers/identities.js
parent9f1438b85b3dac8f1dd98f7bd6e101035cfce0a5 (diff)
parentb05e458ac2463c66751776466e05b8d0d7c21746 (diff)
downloadtangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.gz
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.bz2
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.lz
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.xz
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.tar.zst
tangerine-wallet-browser-54f13b31ecceadf3571765cb9e022b1108a68c36.zip
Merge pull request #105 from MetaMask/MergeWithUI
Merge metamask-ui into metamask plugin
Diffstat (limited to 'ui/app/reducers/identities.js')
-rw-r--r--ui/app/reducers/identities.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/ui/app/reducers/identities.js b/ui/app/reducers/identities.js
new file mode 100644
index 000000000..95ecd23f9
--- /dev/null
+++ b/ui/app/reducers/identities.js
@@ -0,0 +1,18 @@
+const extend = require('xtend')
+const actions = require('../actions')
+
+module.exports = reduceIdentities
+
+function reduceIdentities(state, action) {
+
+ // clone + defaults
+ var idState = extend({
+
+ }, state.identities)
+
+ switch (action.type) {
+ default:
+ return idState
+ }
+
+}