diff options
author | Dan <danjm.com@gmail.com> | 2018-04-27 18:41:18 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-04-27 18:41:18 +0800 |
commit | 33c16d1bf62133a87d8f24232ee85438a6b6a0e6 (patch) | |
tree | e92efaaf5a5a0a6ed75a336f3ee94b1b53cb357a /ui/app/components/pending-tx/confirm-send-token.js | |
parent | 91c201aa72581a59a0d2ef73a225b1768584dea7 (diff) | |
download | tangerine-wallet-browser-33c16d1bf62133a87d8f24232ee85438a6b6a0e6.tar.gz tangerine-wallet-browser-33c16d1bf62133a87d8f24232ee85438a6b6a0e6.tar.zst tangerine-wallet-browser-33c16d1bf62133a87d8f24232ee85438a6b6a0e6.zip |
Fixes to get tests passing.
Diffstat (limited to 'ui/app/components/pending-tx/confirm-send-token.js')
-rw-r--r-- | ui/app/components/pending-tx/confirm-send-token.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx/confirm-send-token.js b/ui/app/components/pending-tx/confirm-send-token.js index 656093b3d..281c42824 100644 --- a/ui/app/components/pending-tx/confirm-send-token.js +++ b/ui/app/components/pending-tx/confirm-send-token.js @@ -558,9 +558,9 @@ ConfirmSendToken.prototype.onSubmit = function (event) { if (valid && this.verifyGasParams() && balanceIsSufficient) { this.props.sendTransaction(txMeta, event) } else if (!balanceIsSufficient) { - updateSendErrors({ insufficientFunds: this.context.t('insufficientFunds') }) + updateSendErrors({ insufficientFunds: 'insufficientFunds' }) } else { - updateSendErrors({ invalidGasParams: this.context.t('invalidGasParams') }) + updateSendErrors({ invalidGasParams: 'invalidGasParams' }) this.setState({ submitting: false }) } } |