diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-12-01 08:01:51 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-12-01 08:01:51 +0800 |
commit | 049e351c9d78dc13a81ba962b04ef96694b13682 (patch) | |
tree | 451ea1eb060f1d70596046baf8df23dca9d2b8e9 /ui/app | |
parent | fe533bbef2486bd22e4e23ee43927cff0e1d958e (diff) | |
download | tangerine-wallet-browser-049e351c9d78dc13a81ba962b04ef96694b13682.tar tangerine-wallet-browser-049e351c9d78dc13a81ba962b04ef96694b13682.tar.gz tangerine-wallet-browser-049e351c9d78dc13a81ba962b04ef96694b13682.tar.bz2 tangerine-wallet-browser-049e351c9d78dc13a81ba962b04ef96694b13682.tar.lz tangerine-wallet-browser-049e351c9d78dc13a81ba962b04ef96694b13682.tar.xz tangerine-wallet-browser-049e351c9d78dc13a81ba962b04ef96694b13682.tar.zst tangerine-wallet-browser-049e351c9d78dc13a81ba962b04ef96694b13682.zip |
Add integration tests for logging out and back in
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/actions.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index d800091f2..0cc55136f 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -447,11 +447,12 @@ function updateMetamaskState (newState) { function lockMetamask () { return (dispatch) => { - background.setLocked((err) => { + background.setLocked((err, newState) => { dispatch(actions.hideLoadingIndication()) if (err) { return dispatch(actions.displayWarning(err.message)) } + dispatch(actions.updateMetamaskState(newState)) }) } } |