Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 21:01:29 +00:00
co-authored by renee-png
parent 35db288c48
commit d33aef6220
+1 -1
View File
@@ -946,7 +946,7 @@ function WeekStrip({
);
}
function ListView({ events }: { events: Evt[] }) {
function ListView({ events, onEdit }: { events: Evt[]; onEdit?: (e: Evt) => void }) {
const today = startOfDay(new Date());
const upcoming = [...events]
.filter((e) => parseISO(e.start) >= today)