Update warning message
This commit is contained in:
parent
1c83a87f88
commit
93a771bdd3
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user