Fix error state being briefly shown before OAuth

This commit is contained in:
Justin Spahr-Summers
2025-01-24 15:02:34 +00:00
parent 3bc776f7cd
commit 99d7592ac9

View File

@@ -184,6 +184,7 @@ export function useConnection({
sessionStorage.setItem(SESSION_KEYS.SERVER_URL, sseUrl);
const redirectUrl = await startOAuthFlow(sseUrl);
window.location.href = redirectUrl;
return;
}
throw error;