example-storefront icon indicating copy to clipboard operation
example-storefront copied to clipboard

Fix: primaryShop query is not working

Open vannguyenn opened this issue 2 years ago • 0 comments

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

  1. List the steps needed for testing your change in this section.
  2. Assume that testers already know how to start the app, and do the basic setup tasks.
  3. Be detailed enough that someone can work through it without being too granular

This project uses semantic-release, please use their commit message format..

vannguyenn avatar May 26 '22 08:05 vannguyenn