Fondation
This commit is contained in:
parent
155d9a63d8
commit
45f2fcb585
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user