Set inclusive false for minValue validator in sendfunds form (#1193)

This commit is contained in:
Mikhail Mikheev 2020-08-01 01:15:56 +04:00 committed by GitHub
parent 81c14133ac
commit 24dffd53da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ const SendFunds = ({ initialValues, onClose, onNext, recipientAddress, selectedT
validate={composeValidators(
required,
mustBeFloat,
minValue(0),
minValue(0, false),
maxValue(selectedTokenRecord?.balance),
)}
/>