Commit a14ace56 authored by Lê Bảo Hồng Đức's avatar Lê Bảo Hồng Đức

fix

parent 4ed1fddb
...@@ -38,7 +38,6 @@ export default function EventCalendar() { ...@@ -38,7 +38,6 @@ export default function EventCalendar() {
return result; return result;
}, [currentMonth]); }, [currentMonth]);
// Helper: get all events for a specific day
const getEventForDay = (date: Date) => const getEventForDay = (date: Date) =>
events.filter((e) => isSameDay(new Date(e.start_time), date)); events.filter((e) => isSameDay(new Date(e.start_time), date));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment