aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-01-04 03:03:25 +0800
committerDan Finlay <dan@danfinlay.com>2017-01-04 03:03:25 +0800
commit013e6a608f55c7a81e17a171d681cb21e041c9d9 (patch)
tree24ee03b538835db7e080de93e815ec2266a3bf0d /ui/app/actions.js
parent8b7b097034f274631917b2df8617c24feb09f69c (diff)
downloadtangerine-wallet-browser-013e6a608f55c7a81e17a171d681cb21e041c9d9.tar
tangerine-wallet-browser-013e6a608f55c7a81e17a171d681cb21e041c9d9.tar.gz
tangerine-wallet-browser-013e6a608f55c7a81e17a171d681cb21e041c9d9.tar.bz2
tangerine-wallet-browser-013e6a608f55c7a81e17a171d681cb21e041c9d9.tar.lz
tangerine-wallet-browser-013e6a608f55c7a81e17a171d681cb21e041c9d9.tar.xz
tangerine-wallet-browser-013e6a608f55c7a81e17a171d681cb21e041c9d9.tar.zst
tangerine-wallet-browser-013e6a608f55c7a81e17a171d681cb21e041c9d9.zip
Corrected instances of showWarning to displayWarning
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index bc9b4a092..96d76a50a 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -229,7 +229,7 @@ function createNewVaultAndKeychain (password) {
return (dispatch) => {
background.createNewVaultAndKeychain(password, (err, newState) => {
if (err) {
- return dispatch(actions.showWarning(err.message))
+ return dispatch(actions.displayWarning(err.message))
}
})
}
@@ -261,7 +261,7 @@ function addNewKeyring (type, opts) {
background.addNewKeyring(type, opts, (err) => {
dispatch(this.hideLoadingIndication())
if (err) {
- return dispatch(actions.showWarning(err))
+ return dispatch(actions.displayWarning(err))
}
})
}
@@ -548,7 +548,7 @@ function markNoticeRead (notice) {
background.markNoticeRead(notice, (err, notice) => {
dispatch(this.hideLoadingIndication())
if (err) {
- return dispatch(actions.showWarning(err))
+ return dispatch(actions.displayWarning(err))
}
if (notice) {
return dispatch(actions.showNotice(notice))