Fix point update modal
This commit is contained in:
parent
02f15ea736
commit
1768328a6f
@ -174,6 +174,7 @@ export default function () {
|
|||||||
newMemberData[memberData.findIndex((m) => m.id === id)].points = points;
|
newMemberData[memberData.findIndex((m) => m.id === id)].points = points;
|
||||||
|
|
||||||
setMemberData(newMemberData);
|
setMemberData(newMemberData);
|
||||||
|
onClose();
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -194,7 +195,7 @@ export default function () {
|
|||||||
allowMouseWheel
|
allowMouseWheel
|
||||||
defaultValue={realtimePoints}
|
defaultValue={realtimePoints}
|
||||||
onChange={(n) => setRealtimePoints(parseInt(n))}
|
onChange={(n) => setRealtimePoints(parseInt(n))}
|
||||||
pt="8px"
|
mt="8px"
|
||||||
>
|
>
|
||||||
<NumberInputField />
|
<NumberInputField />
|
||||||
<NumberInputStepper>
|
<NumberInputStepper>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user