refactor Notifications agenda
This commit is contained in:
parent
9f47de084c
commit
66503008ca
@ -35,6 +35,9 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
|
||||
// Listen for RocketChat message notifications
|
||||
const { messageNotification, setMessageNotification } = useRocketChatMessageNotifications();
|
||||
|
||||
// Listen for calendar event notifications
|
||||
const { eventNotification, setEventNotification } = useCalendarEventNotifications();
|
||||
|
||||
// Also listen for RocketChat iframe events (fallback)
|
||||
useEffect(() => {
|
||||
if (isSignInPage) return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user