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

useProduct() in Hydrogen React does not include product title #689

Closed
hsdonkin opened this issue Mar 14, 2023 · 0 comments · Fixed by #735
Closed

useProduct() in Hydrogen React does not include product title #689

hsdonkin opened this issue Mar 14, 2023 · 0 comments · Fixed by #735

Comments

@hsdonkin
Copy link

What is the location of your example repository?

No response

Which package or tool is having this issue?

hydrogen-react

What version of that package or tool are you using?

current

What version of Remix are you using?

No response

Steps to Reproduce

  • Fetch product data with graphql query that includes title field
  • <ProductProvider data={data}>
  • Get product with useProduct()
  • Product does not include product.title

Expected Behavior

Data should include product.title

Actual Behavior

Data does not include product.title

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants