From 66503008ca98d93d90e60972a3aee5333c9b2b27 Mon Sep 17 00:00:00 2001 From: alma Date: Fri, 16 Jan 2026 02:38:04 +0100 Subject: [PATCH] refactor Notifications agenda --- components/layout/layout-wrapper.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/layout/layout-wrapper.tsx b/components/layout/layout-wrapper.tsx index 61b5712..6e3600d 100644 --- a/components/layout/layout-wrapper.tsx +++ b/components/layout/layout-wrapper.tsx @@ -35,6 +35,9 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou // Listen for RocketChat message notifications const { messageNotification, setMessageNotification } = useRocketChatMessageNotifications(); + // Listen for calendar event notifications + const { eventNotification, setEventNotification } = useCalendarEventNotifications(); + // Also listen for RocketChat iframe events (fallback) useEffect(() => { if (isSignInPage) return;