next-shopify-local
next-shopify-local copied to clipboard
Question mark breaking the build on start
trafficstars
Hi Filip,
First of all, thanks for a great course, really looking forward to the rest of it.
Today I tried to set up the next local Shopify API and discovered a question mark that broke the build on line 483 in the index.js file, so I just wanted to let you know. The build worked perfectly fine after I removed it.
const product = products.edges.find(e => e.node.handle === handle)?.node
Thanks, Henrik
@Henkisch Thank you