Commerce demo store built for the Jamstack. Built with Commerce.js, Next.js, and can be one-click deployed to Netlify. Includes product catalog, customer login, categories, variants, cart, checkout, payments (Stripe) order confirmation, and printable receipts.
yes I ended up changing line 50 and 102 to this
{categories && categories.map(category => (
the categories && was the solution but I now have another problem my products do not show up on that collection page but they do on the home page so my my api key is working but not for the collection page?
I get this error everytime I go from page to page, how to solve? .next\static\chunks\pages\collection.js (50:20) @ Collections.renderSidebar
48 | return ( 49 | <>