Closed JoshBennett793 closed 1 year ago
I think implementing the useReducer messed with the search functionality
I've pulled and merged with main locally with no breaks to the search functionality.
I've also opened the PR up in a GH codespace and it is working as expected. I believe your local main may be different from remote main.
I think implementing the useReducer messed with the search functionality
I've pulled and merged with main locally with no breaks to the search functionality.
- I merged Renee's changes to FavoriteContext.js and pushed those in to this PR. Reference: 82d4ddf
I've also opened the PR up in a GH codespace and it is working as expected. I believe your local main may be different from remote main.
The bug originated from the BreweryContext component in which I was attempting to use the array of params as the switch expression, causing unexpected behavior. This bug has been resolved. Reference: 25b7aaf
All issues fixed! Nice work!
What I did:
Did this break anything?
Type of change
Checklist:
What's next?