diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2019-04-02 09:03:54 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-04-02 09:03:54 +0800 |
commit | a46ec83c9b258a3aed65e1ef08769300c01ca13b (patch) | |
tree | a48f7ddb8635ffbb024ff755d1865686c8a0ab27 /ui/app/ducks | |
parent | 4055dc3475cb743e540766a8a8c704bb2b807502 (diff) | |
download | tangerine-wallet-browser-a46ec83c9b258a3aed65e1ef08769300c01ca13b.tar tangerine-wallet-browser-a46ec83c9b258a3aed65e1ef08769300c01ca13b.tar.gz tangerine-wallet-browser-a46ec83c9b258a3aed65e1ef08769300c01ca13b.tar.bz2 tangerine-wallet-browser-a46ec83c9b258a3aed65e1ef08769300c01ca13b.tar.lz tangerine-wallet-browser-a46ec83c9b258a3aed65e1ef08769300c01ca13b.tar.xz tangerine-wallet-browser-a46ec83c9b258a3aed65e1ef08769300c01ca13b.tar.zst tangerine-wallet-browser-a46ec83c9b258a3aed65e1ef08769300c01ca13b.zip |
Remove NoticeController (#6382)
Diffstat (limited to 'ui/app/ducks')
-rw-r--r-- | ui/app/ducks/app/app.js | 6 | ||||
-rw-r--r-- | ui/app/ducks/metamask/metamask.js | 14 |
2 files changed, 0 insertions, 20 deletions
diff --git a/ui/app/ducks/app/app.js b/ui/app/ducks/app/app.js index acbb5c989..295507d70 100644 --- a/ui/app/ducks/app/app.js +++ b/ui/app/ducks/app/app.js @@ -435,12 +435,6 @@ function reduceApp (state, action) { forgottenPassword: false, }) - case actions.SHOW_NOTICE: - return extend(appState, { - transForward: true, - isLoading: false, - }) - case actions.REVEAL_ACCOUNT: return extend(appState, { scrollToBottom: true, diff --git a/ui/app/ducks/metamask/metamask.js b/ui/app/ducks/metamask/metamask.js index 864229e83..47c767d68 100644 --- a/ui/app/ducks/metamask/metamask.js +++ b/ui/app/ducks/metamask/metamask.js @@ -18,8 +18,6 @@ function reduceMetamask (state, action) { rpcTarget: 'https://rawtestrpc.metamask.io/', identities: {}, unapprovedTxs: {}, - noActiveNotices: true, - nextUnreadNotice: undefined, frequentRpcList: [], addressBook: [], selectedTokenAddress: null, @@ -69,18 +67,6 @@ function reduceMetamask (state, action) { delete newState.seedWords return newState - case actions.SHOW_NOTICE: - return extend(metamaskState, { - noActiveNotices: false, - nextUnreadNotice: action.value, - }) - - case actions.CLEAR_NOTICES: - return extend(metamaskState, { - noActiveNotices: true, - nextUnreadNotice: undefined, - }) - case actions.UPDATE_METAMASK_STATE: return extend(metamaskState, action.value) |