Skip to content
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

[CHORE] Replace useDispatch/useSelector with useAppDispatch/useAppSelector #3361

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

taraepp
Copy link
Collaborator

@taraepp taraepp commented Jan 3, 2025

Objective

I gave it a go! Unfortunately there are errors running the app that seem to be related to useSelector. I didn't try replacing them separately to investigate. Putting up a draft PR for greater visibility. I had no luck with regex but I did about 3 or 4 different find + replace that seemed to do the trick pretty quickly. Aaand now I see that I didn't have the "regex search" option turned on. 🤦‍♀️

image

There's also a couple of errors in tests, some that look like what I'm seeing above in my console, and some that are just because we're importing useSelector and mocking it (so the test probably needs some love in a couple cases but I wasn't going to bother with that right now when there's functional issues).

@taraepp taraepp added the 🚧 WIP This is work in progress code that may change significantly. label Jan 3, 2025
Copy link

sonarqubecloud bot commented Jan 3, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 WIP This is work in progress code that may change significantly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant