Fixed bug in event rant options where min rant would change to string
This commit is contained in:
parent
562b90ebf7
commit
e1fcceb721
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue