Skip to content

Conversation

@hardikmodi1
Copy link

What kind of change does this PR introduce?

refactor /app/pages/common/Modals/EmptyTrash/index.js to use OverMind and change the file to tsx file.

What is the current behavior?

It was using cerebral for state management

What is the new behaviour?

It uses Overmind for state management with the help of useOvermind hook

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

  1. yarn test is successfull
  2. yarn start is successfull
  3. yarn lint and yarn typecheck is successfull

Checklist

  • Testing
  • Ready to be merged

Copy link
Contributor

@christianalfoni christianalfoni left a comment

Choose a reason for hiding this comment

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

This looks great! 😄 👍

Tested:

  • Click delete all sandboxes, modal opens
  • Close modal
  • Delete all sandboxes

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