Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
C'mon
  • Loading branch information
regalijan committed Mar 2, 2024
1 parent 88b256c commit 7839444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/events-team.tsx
Expand Up @@ -127,7 +127,7 @@ export default function () {
newEventData[eventIdx].approved = approved;
newEventData[eventIdx].pending = false;

setEventData(newEventData);
setEventData([...newEventData]);
}

async function certify(eventId: string) {
Expand Down Expand Up @@ -169,7 +169,7 @@ export default function () {
eventData.findIndex((e) => e.id === eventId)
].reached_minimum_player_count = true;

setEventData(newEventData);
setEventData([...newEventData]);
}

return (
Expand Down

0 comments on commit 7839444

Please sign in to comment.