[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2025-08-12 15:52:46 +00:00
committed by GitHub
parent dfd34d6c9a
commit e1156efc6f

View File

@@ -94,9 +94,10 @@ const AmountInput = memo(function AmountInput({
};
const applyText = () => {
const parsed = (hasArithmeticOperator(text)
? evalArithmetic(text)
: currencyToAmount(text)) ?? 0;
const parsed =
(hasArithmeticOperator(text)
? evalArithmetic(text)
: currencyToAmount(text)) ?? 0;
const newValue = editing ? parsed : value;