refactor Notifications rc

This commit is contained in:
alma 2026-01-16 02:09:39 +01:00
parent 1a8b3d3f91
commit 041ee8fe62

View File

@ -31,6 +31,9 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
// Listen for email notifications
const { emailNotification, setEmailNotification } = useEmailNotifications();
// Listen for RocketChat message notifications
const { messageNotification, setMessageNotification } = useRocketChatMessageNotifications();
// Also listen for RocketChat iframe events (fallback)
useEffect(() => {
if (isSignInPage) return;