diff options
Move main drop-down state to component state
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index c6b57d29d..3e0fe55c0 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -2,10 +2,6 @@ var actions = { GO_HOME: 'GO_HOME', goHome: goHome, // menu state - TOGGLE_MENU: 'TOGGLE_MENU', - toggleMenu: toggleMenu, - SET_MENU_STATE: 'SET_MENU_STATE', - closeMenu: closeMenu, getNetworkStatus: 'getNetworkStatus', // remote state @@ -125,21 +121,6 @@ function goHome () { } } -// menu state - -function toggleMenu () { - return { - type: actions.TOGGLE_MENU, - } -} - -function closeMenu () { - return { - type: actions.SET_MENU_STATE, - value: false, - } -} - // async actions function tryUnlockMetamask (password) { |