aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/ducks/send.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/ducks/send.js')
-rw-r--r--ui/app/ducks/send.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/ducks/send.js b/ui/app/ducks/send.js
index aeca9f92f..c4874aa8c 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, {