aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/coinbase-form.js
diff options
context:
space:
mode:
authorKevin G. Serrano <kevgagser@gmail.com>2016-11-08 08:02:02 +0800
committerKevin G. Serrano <kevgagser@gmail.com>2016-11-08 08:02:02 +0800
commit7b3f1ecc41e1c57252f1d862930aebc3e9c446ea (patch)
treeec1237fd092d218d2bb8f807cbb9e5c0a07af708 /ui/app/components/coinbase-form.js
parent30ff9b5e10f12588a213496921e84514c2018641 (diff)
downloadtangerine-wallet-browser-7b3f1ecc41e1c57252f1d862930aebc3e9c446ea.tar
tangerine-wallet-browser-7b3f1ecc41e1c57252f1d862930aebc3e9c446ea.tar.gz
tangerine-wallet-browser-7b3f1ecc41e1c57252f1d862930aebc3e9c446ea.tar.bz2
tangerine-wallet-browser-7b3f1ecc41e1c57252f1d862930aebc3e9c446ea.tar.lz
tangerine-wallet-browser-7b3f1ecc41e1c57252f1d862930aebc3e9c446ea.tar.xz
tangerine-wallet-browser-7b3f1ecc41e1c57252f1d862930aebc3e9c446ea.tar.zst
tangerine-wallet-browser-7b3f1ecc41e1c57252f1d862930aebc3e9c446ea.zip
Unify warning functions.
Diffstat (limited to 'ui/app/components/coinbase-form.js')
-rw-r--r--ui/app/components/coinbase-form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/coinbase-form.js b/ui/app/components/coinbase-form.js
index efd05ec96..3c5708bf8 100644
--- a/ui/app/components/coinbase-form.js
+++ b/ui/app/components/coinbase-form.js
@@ -116,10 +116,10 @@ CoinbaseForm.prototype.toCoinbase = function () {
props.dispatch(actions.buyEth(address, props.buyView.amount))
} else if (!isValidAmountforCoinBase(amount).valid) {
message = isValidAmountforCoinBase(amount).message
- return props.dispatch(actions.showWarning(message))
+ return props.dispatch(actions.displayWarning(message))
} else {
message = 'Receiving address is invalid.'
- return props.dispatch(actions.showWarning(message))
+ return props.dispatch(actions.displayWarning(message))
}
}