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, handleSubscription,
}; };
useBroadcastChannel("session", () => { useBroadcastChannel("session", (e) => {
socketCtx.socket.disconnect(); if (e.data === "logout") {
socketCtx.socket.disconnect();
}
}); });
return ( return (