fixing bug of disconnecting socket

This commit is contained in:
talksik
2022-06-14 16:58:12 -05:00
parent 607c7a98a1
commit 73a8371da5
@@ -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);
});