updateQuantity not working properly // modified dawn

Whenever I update or remove an item from my cart drawer, nothing changes in the cart-drawer section. I have to reload the page in order to see an updated cart.

With further inspection I realize that my

fetch(`${routes.cart_change_url}`, { ...fetchConfig(), ...{ body } }){}

within my updateQuantity only has the ‘cart-icon-bubble’ section and not ‘cart-drawer’ section.

Does anyone know why my fetch to cart_change_url does not include a ‘cart-drawer’ section?

1 Like

Issue found:
I installed env-cmd and was running env-cmd shopify theme dev to work around Shopify’s 502 error from a few days ago.

Resolution:

removing env-cmd