Skip to content

Conversation

@nobioma1
Copy link
Contributor

@nobioma1 nobioma1 commented Oct 4, 2019

What kind of change does this PR introduce?

@Saeris @christianalfoni

What is the current behavior?

  • /app/pages/GitHub/index.tsx was using inject and hooksObserver from app/componentConnectors

What is the new behavior?

  • Using useOvermind from app/overmind

What steps did you take to test this?

Ran yarn test and yarn lint

Checklist

  • Documentation
  • Testing
  • Ready to be merged
  • Added myself to contributors table

@vercel vercel bot temporarily deployed to staging October 4, 2019 21:50 Inactive
@vercel
Copy link

vercel bot commented Oct 4, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://codesandbox-client-git-fork-nobioma1-refactor-dashboard-github.codesandbox1.now.sh

@Saeris Saeris added Hacktoberfest 🔨 Refactor 🧠 Overmind Indicates that this is related to the app's State Management labels Oct 8, 2019
Copy link
Contributor

@Saeris Saeris left a comment

Choose a reason for hiding this comment

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

Looks good! Just make sure that all import references for this component are updated to use the new named export instead of the old default export!

@lbogdan lbogdan temporarily deployed to pr2657 October 15, 2019 22:49 Inactive
@nobioma1
Copy link
Contributor Author

Thank you @Saeris. I went through but can't seem to find a default import for the component 'Github'.

@CompuIves
Copy link
Member

Heyo! I think the default import is here: https://github.com/CompuIves/codesandbox-client/blob/master/packages/app/src/app/pages/index.tsx#L43-L45. This one should be changed.

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.

Need to change default export.

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 good now!

@CompuIves
Copy link
Member

Thanks for the PR 😄

@CompuIves CompuIves merged commit e5bd388 into codesandbox:master Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧠 Overmind Indicates that this is related to the app's State Management 🔨 Refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants