Skip to content

Conversation

@sajadhsm
Copy link
Contributor

What kind of change does this PR introduce?

Refactors code as a part of hacktoberfest mentioned in #2621.
@Saeris @christianalfoni

What is the current behavior?

/app/pages/Dashboard/Sidebar/TrashItem/index.js was using Cerebral

What is the new behavior?

I think the Cerebral usage was unnecessary, (please correct me if I'm wrong) so I removed it. Then convert the file to typescript and added needed types.

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. Manually tested it to check that it still works
  2. yarn test
  3. yarn lint
  4. yarn typecheck

Checklist

  • Testing
  • Ready to be merged

@lbogdan
Copy link
Contributor

lbogdan commented Oct 18, 2019

Build for latest commit 2ed2661 is at https://pr2859.build.csb.dev/s/new.

Copy link
Contributor

@SaraVieira SaraVieira left a comment

Choose a reason for hiding this comment

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

Awesome! Thank you!

@SaraVieira SaraVieira merged commit 1e1c97a into codesandbox:master Oct 19, 2019
@sajadhsm sajadhsm deleted the refactor-TrashItem branch October 19, 2019 20:59
@MichaelDeBoey MichaelDeBoey added 🔨 Refactor 🧠 Overmind Indicates that this is related to the app's State Management labels Feb 8, 2020
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