diff --git a/src/components/NewUI/EventCreator.tsx b/src/components/NewUI/EventCreator.tsx index 6b8d0c3..ca17144 100644 --- a/src/components/NewUI/EventCreator.tsx +++ b/src/components/NewUI/EventCreator.tsx @@ -106,6 +106,9 @@ export default function EventCreator({ group }: { group: IGroup }) { endTime, groupId: group.id, placeId, + recurring, + daysOfWeek, + endDate, }) .then((response) => response.json()) .then(({ id }) => { @@ -113,7 +116,17 @@ export default function EventCreator({ group }: { group: IGroup }) { }) .finally(() => setCreating(false)); } - }, [creating, name, startTime, endTime, group.id, placeId]); + }, [ + creating, + name, + startTime, + endTime, + group.id, + placeId, + recurring, + daysOfWeek, + endDate, + ]); return (