fixing bug of disconnecting socket
This commit is contained in:
@@ -29,7 +29,6 @@ export function SocketProvider({ children }: { children: React.ReactNode }) {
|
||||
console.error('SOCKET | connection closed likely due to idling or manual disconnect');
|
||||
toast('unplugging');
|
||||
|
||||
socketConnection.disconnect();
|
||||
set$ws(undefined);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user