Skip to content

Conversation

@kettanaito
Copy link
Contributor

@kettanaito kettanaito commented Aug 25, 2022

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code

A follow-up to #6836.

Changes

  • Removes the useEffect that'd open the VS Code on component's mount.

Motivation

We don't have the on mount logic in the previous implementation and it looks like I've migrated it incorrectly. You need explicitly click on the "Open in Visual Studio Code" button for the login to happen, just as the text above the button suggests.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0f9d584:

Sandbox Source
Notifications Test Configuration

@lbogdan
Copy link
Contributor

lbogdan commented Aug 25, 2022

Build for latest commit 0f9d584 is at https://pr6844.build.csb.dev/s/new.

@kettanaito
Copy link
Contributor Author

Confirm that it works as expected on the preview environment.

Copy link
Member

@CompuIves CompuIves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@kettanaito kettanaito merged commit 410e731 into master Aug 25, 2022
@kettanaito kettanaito deleted the fix/vscode-remove-open-effect branch August 25, 2022 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants