mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 12:59:14 +00:00
fix: apply feedback updates
This commit is contained in:
parent
941f9c8c94
commit
fade7070ff
@ -453,8 +453,10 @@ const ChatProvider: React.FC<{
|
||||
handleSubscription,
|
||||
};
|
||||
|
||||
useBroadcastChannel("session", () => {
|
||||
useBroadcastChannel("session", (e) => {
|
||||
if (e.data === "logout") {
|
||||
socketCtx.socket.disconnect();
|
||||
}
|
||||
});
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user