some sort of loop giong on bug
This commit is contained in:
@@ -45,10 +45,6 @@ export function SocketProvider({ children }: { children: React.ReactNode }) {
|
|||||||
console.error(
|
console.error(
|
||||||
'SOCKET | there was a problem with your app...connection closed likely due to idling or manual disconnect',
|
'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
|
// client-side errors
|
||||||
|
|||||||
Reference in New Issue
Block a user