refactor Notifications rc
This commit is contained in:
parent
1a8b3d3f91
commit
041ee8fe62
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user