diff --git a/packages/roomkit-react/src/Prebuilt/components/Notifications/Notifications.tsx b/packages/roomkit-react/src/Prebuilt/components/Notifications/Notifications.tsx index e7f6a6247c..9ba1556e16 100644 --- a/packages/roomkit-react/src/Prebuilt/components/Notifications/Notifications.tsx +++ b/packages/roomkit-react/src/Prebuilt/components/Notifications/Notifications.tsx @@ -64,6 +64,8 @@ export function Notifications() { useCustomEvent({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied }); + console.log('!notification || isNotificationDisabled', isNotificationDisabled, notification); + useEffect(() => { if (!notification || isNotificationDisabled) { return; @@ -116,6 +118,8 @@ export function Notifications() { title: `You are now a ${notification.data.roleName}`, }); updateRoomLayoutForRole?.(notification.data.roleName); + } else { + console.log('notification.data: ', notification.data); } break; }