-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
fix(admin): reset all redux toolkit cache on logout #20318
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
c0b9808
to
8efb0ec
Compare
e8732fc
to
d064588
Compare
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.
Great job, thanks for tiding things up,
I left a few suggestions/comments, otherwise all looks good
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
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 great
What does it do?
resetApiState
once on log out to clear the whole redux cache. When we migrate the rest of the app to use redux/toolkit it'll "just work"Why is it needed?
Related issue(s)/PR(s)