From 35dfac064f9033d415ae4f460df6529cad459246 Mon Sep 17 00:00:00 2001 From: alma Date: Fri, 16 Jan 2026 01:48:00 +0100 Subject: [PATCH] refactor Notifications rc --- components/layout/layout-wrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/layout/layout-wrapper.tsx b/components/layout/layout-wrapper.tsx index 3d234a6..e0d61ad 100644 --- a/components/layout/layout-wrapper.tsx +++ b/components/layout/layout-wrapper.tsx @@ -22,7 +22,7 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou const { data: session } = useSession(); // Listen for incoming RocketChat calls via WebSocket - useRocketChatCalls(); + const { incomingCall, setIncomingCall } = useRocketChatCalls(); // Also listen for RocketChat iframe events (fallback) useEffect(() => {