Skip to content

Commit

Permalink
Fix calendar formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonerickson committed Jan 3, 2024
1 parent 80c0482 commit 99b60ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/calendar/_components/days.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ export function Days({ currentMonth, handleDayEventSelect, events }) {
currentDate = currentDate.add(1, 'day');
}

setArrayOfWeeks(allDates);
return allDates;
};

useEffect(() => {
getAllDays();
setArrayOfWeeks(getAllDays());
}, [currentMonth]);

return (
Expand Down

0 comments on commit 99b60ef

Please sign in to comment.