Fix for issue where exit session intermittently does not return to splash (#5291)

This commit is contained in:
tofarr
2024-11-27 08:30:39 -07:00
committed by GitHub
parent 5d366129d1
commit c70d160637

View File

@@ -136,7 +136,7 @@ export function WsClientProvider({
// create a new one
if (
!sio ||
(tokenRef.current && token !== tokenRef.current) ||
(tokenRef.current && token && token !== tokenRef.current) ||
ghToken !== ghTokenRef.current
) {
sio?.disconnect();