Skip to content

Commit 84a4003

Browse files
committed
Update AddToCart.component.tsx
1 parent 1c01f9b commit 84a4003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Product/AddToCart.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const AddToCart = ({
9292
variationId,
9393
fullWidth = false,
9494
}: IProductRootObject) => {
95-
const { cart, setCart, isLoading: isCartLoading } = useCartStore();
95+
const { setCart, isLoading: isCartLoading } = useCartStore();
9696
const [requestError, setRequestError] = useState<boolean>(false);
9797

9898
const productId = product?.databaseId ? product?.databaseId : variationId;

0 commit comments

Comments
 (0)