diff options
author | Dan <danjm.com@gmail.com> | 2017-10-27 01:15:05 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-27 03:27:09 +0800 |
commit | 0ed1add110ec630ed358aa44af030623bab1ad92 (patch) | |
tree | 1e3688180e2a47e1fe1deaf6ab288854c6aa106b /ui/app/accounts | |
parent | f9fc6cec3b01357dd5bb182b6389426d1f17260a (diff) | |
download | tangerine-wallet-browser-0ed1add110ec630ed358aa44af030623bab1ad92.tar tangerine-wallet-browser-0ed1add110ec630ed358aa44af030623bab1ad92.tar.gz tangerine-wallet-browser-0ed1add110ec630ed358aa44af030623bab1ad92.tar.bz2 tangerine-wallet-browser-0ed1add110ec630ed358aa44af030623bab1ad92.tar.lz tangerine-wallet-browser-0ed1add110ec630ed358aa44af030623bab1ad92.tar.xz tangerine-wallet-browser-0ed1add110ec630ed358aa44af030623bab1ad92.tar.zst tangerine-wallet-browser-0ed1add110ec630ed358aa44af030623bab1ad92.zip |
Clear import error state on logout.
Diffstat (limited to 'ui/app/accounts')
-rw-r--r-- | ui/app/accounts/import/private-key.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/accounts/import/private-key.js b/ui/app/accounts/import/private-key.js index 68ccee58e..e214bcbbe 100644 --- a/ui/app/accounts/import/private-key.js +++ b/ui/app/accounts/import/private-key.js @@ -17,6 +17,10 @@ function PrivateKeyImportView () { Component.call(this) } +PrivateKeyImportView.prototype.componentWillUnmount = function () { + this.props.dispatch(actions.displayWarning(null)) +} + PrivateKeyImportView.prototype.render = function () { const { error } = this.props |