import React from 'react' import { X, ShoppingBag, Plus, Minus, Trash2, Tag, ArrowRight } from 'lucide-react' import { Link } from 'react-router-dom' import { useCartStore } from '../store/cartStore' import { formatPrice } from '@homaroma/types' import { useTranslation } from 'react-i18next' import { API_BASE } from '../types' export default function CartDrawer() { const { t } = useTranslation() const { isCartOpen, toggleCart, items, updateQuantity, removeFromCart, getCartTotal } = useCartStore() if (!isCartOpen) return null return (
{t('cart.empty')}
{item.variantSize}
)} {/* Price row */}