Skip to content

Conversation

@christineoo
Copy link
Contributor

@christineoo christineoo commented Oct 16, 2019

This refactor is part of #2621.
@Saeris @christianalfoni

What kind of change does this PR introduce?

  • 67a7202: rename file extension to .tsx
  • 38981d7: refactor to use useOvermind
  • 5d72f6c: update to remove default export
  • fd862f4: fix type string is not assignable to type number

What is the current behavior?

Currently, the state is passed to the components through app/componentConnectors's inject and observer functions.

What is the new behavior?

The state is now retrieved from the Overmind instance

What steps did you take to test this? This is required before we can merge, make sure to test the flow you've updated.

  • yarn lint
  • yarn test
  • yarn start

Checklist

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

@lbogdan lbogdan temporarily deployed to pr2811 October 16, 2019 10:52 Inactive
@lbogdan lbogdan temporarily deployed to pr2811 October 16, 2019 12:55 Inactive
@christineoo christineoo changed the title [WIP] Refactors app/pages/common/Modals/PickSandboxModal/index.js (#2621) 🔨 Refactors app/pages/common/Modals/PickSandboxModal/index.js (#2621) Oct 16, 2019
@christineoo christineoo force-pushed the christineoo/refactor-pick-sandbox-modal branch from fd862f4 to f2e0caf Compare October 17, 2019 12:55
@christineoo christineoo force-pushed the christineoo/refactor-pick-sandbox-modal branch from d53c117 to eb4407c Compare October 17, 2019 13:02
@christineoo
Copy link
Contributor Author

Seems like this PR is a duplicate of #2752 and can be closed. For some reason, I missed the #2752 PR 🤔

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.

3 participants