fix unauthenticated flow

This commit is contained in:
jeffvli
2025-11-18 17:31:40 -08:00
parent 781582c043
commit 92d4681a23
4 changed files with 14 additions and 24 deletions
@@ -58,6 +58,11 @@ export const useServerAuthenticated = () => {
}, 300);
useEffect(() => {
if (!server) {
setReady(AuthState.INVALID);
return;
}
if (priorServerId.current !== server?.id) {
const serverWithAuth = getServerById(server!.id);
priorServerId.current = server?.id || '';