Run prettier-fix

This commit is contained in:
Allen Zhou
2025-02-05 11:22:11 -08:00
parent dd47b574b3
commit 8592cf2d07
3 changed files with 13 additions and 5 deletions

View File

@@ -28,7 +28,10 @@ const OAuthCallback = () => {
// Store both access and refresh tokens
sessionStorage.setItem(SESSION_KEYS.ACCESS_TOKEN, tokens.access_token);
if (tokens.refresh_token) {
sessionStorage.setItem(SESSION_KEYS.REFRESH_TOKEN, tokens.refresh_token);
sessionStorage.setItem(
SESSION_KEYS.REFRESH_TOKEN,
tokens.refresh_token,
);
}
// Redirect back to the main app with server URL to trigger auto-connect
window.location.href = `/?serverUrl=${encodeURIComponent(serverUrl)}`;