diff --git a/src/fund/components/FundCardAmountInput.tsx b/src/fund/components/FundCardAmountInput.tsx index e8648612c9..18f65c78d4 100644 --- a/src/fund/components/FundCardAmountInput.tsx +++ b/src/fund/components/FundCardAmountInput.tsx @@ -37,10 +37,11 @@ export const FundCardAmountInput = ({ Number(value) * Number(exchangeRate), ); - const resultCryptoValue = limitToDecimalPlaces(calculatedCryptoValue, 8); - setCryptoValue( - calculatedCryptoValue === '0' ? '' : resultCryptoValue, + const resultCryptoValue = limitToDecimalPlaces( + calculatedCryptoValue, + 8, ); + setCryptoValue(calculatedCryptoValue === '0' ? '' : resultCryptoValue); } else { setCryptoValue(value);