We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143f30f commit d68226fCopy full SHA for d68226f
packages/playground/website/src/github/acquire-oauth-token-if-needed.tsx
@@ -34,7 +34,8 @@ export async function acquireOAuthTokenIfNeeded() {
34
35
// Reload the page to retry the blueprint with the new token
36
// This is necessary because the blueprint failed before we had the token
37
- window.location.href = url.toString();
+ // Use replace() instead of href assignment to avoid Chrome Error 5
38
+ window.location.replace(url.toString());
39
} finally {
40
oAuthState.value = {
41
...oAuthState.value,
0 commit comments