Skip to content

Commit 410e731

Browse files
authored
fix(vscode): remove open effect on mount (#6844)
1 parent d8705ea commit 410e731

File tree

1 file changed

+0
-3
lines changed
  • packages/app/src/app/pages/VSCodeAuth/Prompt

1 file changed

+0
-3
lines changed

packages/app/src/app/pages/VSCodeAuth/Prompt/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ export const Prompt: FunctionComponent = () => {
9292
});
9393
}, [vscodeUrl, authToken]);
9494

95-
// Attempt to open VS Code when the page mounts.
96-
useEffect(() => openInVsCode(), [openInVsCode]);
97-
9895
if (error) {
9996
return (
10097
<Container>

0 commit comments

Comments
 (0)