Fix error state being briefly shown before OAuth
This commit is contained in:
parent
3bc776f7cd
commit
99d7592ac9
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue