Skip to content

Commit

Permalink
fix: added debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ygit committed Oct 1, 2024
1 parent e955d49 commit 23c9759
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 23c9759

Please sign in to comment.