Display 0 delegate amount in red (#3285)

This commit is contained in:
Jaco Greeff 2020-07-29 12:39:38 +02:00 committed by GitHub
parent 338c47c4bc
commit f2ee1a1e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,8 +72,10 @@ function Delegate ({ onClose, previousAmount, previousConviction, previousDelega
<Modal.Columns>
<Modal.Column>
<InputBalance
autoFocus
help={t<string>('Amount to delegate for any democracy vote. This is adjusted using the available funds on the account.')}
isError={!!amountError?.error}
isZeroable={false}
label={t<string>('delegating amount')}
labelExtra={
<BalanceFree