diff options
author | Kevin G. Serrano <kevgagser@gmail.com> | 2016-11-08 08:02:02 +0800 |
---|---|---|
committer | Kevin G. Serrano <kevgagser@gmail.com> | 2016-11-08 08:02:02 +0800 |
commit | 7b3f1ecc41e1c57252f1d862930aebc3e9c446ea (patch) | |
tree | ec1237fd092d218d2bb8f807cbb9e5c0a07af708 /ui/app/components/coinbase-form.js | |
parent | 30ff9b5e10f12588a213496921e84514c2018641 (diff) | |
download | tangerine-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.js | 4 |
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)) } } |