mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 01:58:40 -05:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user