example-storefront
example-storefront copied to clipboard
Fix: primaryShop query is not working
Signed-off-by: Chloe [email protected]
Resolves #issueNumber Impact: minor Type: bugfix
Issue
graphql-request
seems to be broken when used with NextJS SSR
Solution
Most of the codebase is using apollo-client for making requests to reaction API. This PR refactors the primaryShop query to use apollo-client
Breaking changes
None
Testing
- List the steps needed for testing your change in this section.
- Assume that testers already know how to start the app, and do the basic setup tasks.
- Be detailed enough that someone can work through it without being too granular
This project uses semantic-release, please use their commit message format..