Fixed bug in event rant options where min rant would change to string

This commit is contained in:
tyler 2024-05-28 17:21:49 -04:00
parent 562b90ebf7
commit e1fcceb721

View file

@ -1414,7 +1414,7 @@ function EventOptionsRant(props) {
setValidMaxAmount(true); setValidMaxAmount(true);
} }
setMinAmount(event.target.value); setMinAmount(amount);
props.setOptions({ min_amount: amount, max_amount: maxAmount }); props.setOptions({ min_amount: amount, max_amount: maxAmount });
}; };
const [maxAmount, setMaxAmount] = useState( const [maxAmount, setMaxAmount] = useState(