Merx Starterkit Product Page error (redeclaration of let Product)


without making any changes to the template or javascript, I suddenly get the error
Uncaught SyntaxError: redeclaration of let Product
after loading a product page and when trying to add a product to the cart i get this:
Uncaught (in promise) TypeError: window.cart.add is not a function.

I have no idea what went wrong here, especially after only changing some css so far. Right after the installation the adding process went perfectly fine.

Solved it, it was a dumb js mistake. Nothing Kirby specific. :sweat_smile: