Update warning message

This commit is contained in:
Chi Kei Chan 2018-11-01 15:34:10 +01:00
parent 1c83a87f88
commit 93a771bdd3
2 changed files with 2 additions and 2 deletions

@ -543,7 +543,7 @@ class Send extends Component {
const missingCurrencyValue = !inputValue ? inputLabel : outputLabel; const missingCurrencyValue = !inputValue ? inputLabel : outputLabel;
nextStepMessage = `Enter a ${missingCurrencyValue} value to continue.`; nextStepMessage = `Enter a ${missingCurrencyValue} value to continue.`;
} else if (inputIsZero || outputIsZero) { } else if (inputIsZero || outputIsZero) {
nextStepMessage = 'Amount cannot be zero.'; nextStepMessage = 'No liquidity.';
} else if (this.isUnapproved()) { } else if (this.isUnapproved()) {
nextStepMessage = 'Please unlock token to continue.'; nextStepMessage = 'Please unlock token to continue.';
} else if (!recipient) { } else if (!recipient) {

@ -534,7 +534,7 @@ class Swap extends Component {
if (inputIsZero || outputIsZero) { if (inputIsZero || outputIsZero) {
return ( return (
<div className="swap__summary-wrapper"> <div className="swap__summary-wrapper">
<div>Amount cannot be zero.</div> <div>No liquidity.</div>
</div> </div>
) )
} }