fix withdraw decimal scale

This commit is contained in:
saml33 2023-12-05 10:36:02 +11:00
parent 3b3344039e
commit 4f3d2ea2e9
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ function WithdrawForm({ onSuccess, token }: WithdrawFormProps) {
thousandSeparator=","
allowNegative={false}
isNumericString={true}
decimalScale={bank ? bank.mintDecimals + 2 : 6}
decimalScale={decimals}
className={ACCOUNT_ACTIONS_NUMBER_FORMAT_CLASSES}
placeholder="0.00"
value={inputAmount}