summaryrefslogtreecommitdiff
path: root/src-migrate/modules/cart
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/modules/cart')
-rw-r--r--src-migrate/modules/cart/components/ItemSelect.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-migrate/modules/cart/components/ItemSelect.tsx b/src-migrate/modules/cart/components/ItemSelect.tsx
index f580f81d..00c7be43 100644
--- a/src-migrate/modules/cart/components/ItemSelect.tsx
+++ b/src-migrate/modules/cart/components/ItemSelect.tsx
@@ -68,8 +68,8 @@ const CartItemSelect = ({ item }: Props) => {
// Fall back to server state if no cookie exists
setLocalSelected(item.selected);
- // Save this state to cookie for future use
- updateSelectedItemInCookie(item.id, item.selected, false); // don't notify for initial sync
+ // Save state to cookie for future
+ updateSelectedItemInCookie(item.id, item.selected, false);
}
}, [item.id, item.selected, localSelected, cart, updateCartItem, isUpdating]);