next-shopify-local icon indicating copy to clipboard operation
next-shopify-local copied to clipboard

Question mark breaking the build on start

Open Henkisch opened this issue 4 years ago • 1 comments
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 avatar Sep 01 '21 16:09 Henkisch

@Henkisch Thank you

Raduc4 avatar Sep 03 '21 15:09 Raduc4