diff --git a/app/modules/cart.tsx b/app/modules/cart.tsx index 951d8175..f7c0a7f9 100644 --- a/app/modules/cart.tsx +++ b/app/modules/cart.tsx @@ -36,13 +36,12 @@ export function Cart({ }) { let optimisticCart = useOptimisticCart(cart); let linesCount = Boolean(optimisticCart?.lines?.nodes?.length || 0); + let cartHasItems = !!cart && cart.totalQuantity > 0; - return ( - <> -