diff options
author | Dan <danjm.com@gmail.com> | 2018-04-27 00:38:38 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-04-27 00:38:38 +0800 |
commit | 8ff7806f1b471a90fa3f45ebc10f0f4452ade541 (patch) | |
tree | fe4c9483f6b7ffadda35f304f15bbf3a02974910 /ui/app/ducks | |
parent | 02a6d2089ede7d3faf4990c40b85b9f773f82c64 (diff) | |
download | dexon-wallet-8ff7806f1b471a90fa3f45ebc10f0f4452ade541.tar.gz dexon-wallet-8ff7806f1b471a90fa3f45ebc10f0f4452ade541.tar.zst dexon-wallet-8ff7806f1b471a90fa3f45ebc10f0f4452ade541.zip |
Core of the refactor complete
Diffstat (limited to 'ui/app/ducks')
-rw-r--r-- | ui/app/ducks/send.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/ducks/send.js b/ui/app/ducks/send.js index aeca9f92..c4874aa8 100644 --- a/ui/app/ducks/send.js +++ b/ui/app/ducks/send.js @@ -10,10 +10,11 @@ const CLOSE_TO_DROPDOWN = 'metamask/send/CLOSE_TO_DROPDOWN'; const initState = { fromDropdownOpen: false, toDropdownOpen: false, + errors: {}, } // Reducer -export default function reducer(state = initState, action = {}) { +export default function reducer({ send: sendState = initState }, action = {}) { switch (action.type) { case OPEN_FROM_DROPDOWN: return extend(sendState, { |