Fix error state being briefly shown before OAuth

This commit is contained in:
Justin Spahr-Summers 2025-01-24 15:02:34 +00:00
commit 99d7592ac9
No known key found for this signature in database

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;