diff --git a/components/layout/layout-wrapper.tsx b/components/layout/layout-wrapper.tsx index 63e48a2..8c2041f 100644 --- a/components/layout/layout-wrapper.tsx +++ b/components/layout/layout-wrapper.tsx @@ -27,6 +27,9 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou // Listen for incoming RocketChat calls via WebSocket const { incomingCall, setIncomingCall } = useRocketChatCalls(); + // Listen for email notifications + const { emailNotification, setEmailNotification } = useEmailNotifications(); + // Also listen for RocketChat iframe events (fallback) useEffect(() => { if (isSignInPage) return;