From 45f2fcb58534ba5d4dd1eb661acaa1ed71349c97 Mon Sep 17 00:00:00 2001 From: alma Date: Sat, 17 Jan 2026 01:39:05 +0100 Subject: [PATCH] Fondation --- components/calendar/calendar-widget.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/calendar/calendar-widget.tsx b/components/calendar/calendar-widget.tsx index 5521d2e..76f1295 100644 --- a/components/calendar/calendar-widget.tsx +++ b/components/calendar/calendar-widget.tsx @@ -113,11 +113,7 @@ export function CalendarWidget() { // Calculate current event count const currentEventCount = upcomingEvents.length; - // Trigger notification if count changed - if (currentEventCount !== lastEventCountRef.current) { - lastEventCountRef.current = currentEventCount; - - // Always prepare notification items (even if count hasn't changed) + // Always prepare notification items const notificationItems = upcomingEvents.map(event => ({ id: event.id, title: event.title,