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