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
|
// Listen for RocketChat message notifications
|
||||||
const { messageNotification, setMessageNotification } = useRocketChatMessageNotifications();
|
const { messageNotification, setMessageNotification } = useRocketChatMessageNotifications();
|
||||||
|
|
||||||
|
// Listen for calendar event notifications
|
||||||
|
const { eventNotification, setEventNotification } = useCalendarEventNotifications();
|
||||||
|
|
||||||
// Also listen for RocketChat iframe events (fallback)
|
// Also listen for RocketChat iframe events (fallback)
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (isSignInPage) return;
|
if (isSignInPage) return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user