8bfd7afdcb
addToCart() compared item.variantId === selectedVariant where selectedVariant is null but saved items store variantId: undefined. null !== undefined caused findIndex to never match, always inserting a duplicate instead of incrementing quantity. Normalised with || undefined.