Skip to content

Commit

Permalink
useEffect fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bl20052005 committed Nov 2, 2024
1 parent 6ab38be commit 2307627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/site/src/app/schedule/ScheduleTimer/ScheduleTimer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const ScheduleTimer: React.FC<ScheduleProps> = ({ schedule }) => {
let ret = setInterval(updatePerSecond, 1000);

return () => clearInterval(ret);
});
}, []);

const scheduleFlat = schedule.flat();
const dayOne = scheduleFlat.filter(
Expand Down

0 comments on commit 2307627

Please sign in to comment.