some sort of loop giong on bug

This commit is contained in:
talksik
2022-05-14 09:58:45 -05:00
parent 51847a1fc0
commit 019dc878e5
@@ -45,10 +45,6 @@ export function SocketProvider({ children }: { children: React.ReactNode }) {
console.error(
'SOCKET | there was a problem with your app...connection closed likely due to idling or manual disconnect',
);
setFlowState(true);
socketConnection.disconnect();
socketConnection.removeAllListeners();
});
// client-side errors