aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-02 01:25:19 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-02 01:25:19 +0800
commit51a5e66cbbbf35baa62e74e3545cf478cc05241e (patch)
tree9087b2de9fd6653f4059bf8140b1ae117ed012c6 /ui/app/actions.js
parent6ec387b6751273ad09aed876a03f7ee95dc86c1a (diff)
downloadtangerine-wallet-browser-51a5e66cbbbf35baa62e74e3545cf478cc05241e.tar
tangerine-wallet-browser-51a5e66cbbbf35baa62e74e3545cf478cc05241e.tar.gz
tangerine-wallet-browser-51a5e66cbbbf35baa62e74e3545cf478cc05241e.tar.bz2
tangerine-wallet-browser-51a5e66cbbbf35baa62e74e3545cf478cc05241e.tar.lz
tangerine-wallet-browser-51a5e66cbbbf35baa62e74e3545cf478cc05241e.tar.xz
tangerine-wallet-browser-51a5e66cbbbf35baa62e74e3545cf478cc05241e.tar.zst
tangerine-wallet-browser-51a5e66cbbbf35baa62e74e3545cf478cc05241e.zip
Move main drop-down state to component state
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js19
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) {