-
Notifications
You must be signed in to change notification settings - Fork 2.4k
🔨 Refactor(/app/pages/Dashboard/index): replace Cerebral with 🧠 Overmind #2833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔨 Refactor(/app/pages/Dashboard/index): replace Cerebral with 🧠 Overmind #2833
Conversation
| client.resetStore(); | ||
| } | ||
| useEffect(() => { | ||
| dashboard.dashboardMounted(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All CI checks (including typecheck) are green so It seems that this typecheck error was my environment specific.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be an old thing that already got fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI typecheck is now failing because of this error after renaming the file to tsx.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
SaraVieira
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please rename the file to tsx?
1cb881d to
0aa295b
Compare
|
@SaraVieira done |
|
All green again :) |
SaraVieira
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Thank you!!

What kind of change does this PR introduce?
Refactor
/app/pages/Dashboard/index.js#2621 @Saeris @christianalfoniWhat is the current behavior?
It was using cerebral for state management
What is the new behavior?
It uses Overmind for state management with help of useOvermind hook
What steps did you take to test this? This is required before we can merge.
yarn lint
yarn typecheck (Currently failing. @Saeris @christianalfoni kindly guide how to fix this type error)

yarn test
Checklist