RC fixes #2473
1 changed files with 3 additions and 3 deletions
|
@ -92,12 +92,12 @@ class WalletSend extends React.PureComponent<Props> {
|
||||||
parseFloat(values.amount) === balance
|
parseFloat(values.amount) === balance
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
{!!Object.keys(errors).length && (
|
{!!Object.keys(errors).length || (
|
||||||
<span className="error-text">
|
<span className="error-text">
|
||||||
{(!!values.address && touched.address && errors.address) ||
|
{(!!values.address && touched.address && errors.address) ||
|
||||||
(!!values.amount && touched.amount && errors.amount) ||
|
(!!values.amount && touched.amount && errors.amount) ||
|
||||||
(values.amount === balance && __('Decrease amount to account for transaction fee')) ||
|
(parseFloat(values.amount) === balance && __('Decrease amount to account for transaction fee')) ||
|
||||||
(values.amount > balance && __('Not enough credits'))}
|
(parseFloat(values.amount) > balance && __('Not enough credits'))}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue