fix: apply feedback updates

This commit is contained in:
yassinedorbozgithub 2025-01-29 08:48:51 +01:00
parent 941f9c8c94
commit fade7070ff

View File

@ -453,8 +453,10 @@ const ChatProvider: React.FC<{
handleSubscription,
};
useBroadcastChannel("session", () => {
useBroadcastChannel("session", (e) => {
if (e.data === "logout") {
socketCtx.socket.disconnect();
}
});
return (