'use client'; import { ArrowRight, ShoppingBagIcon } from 'lucide-react'; import { usePathname, useRouter } from 'next/navigation'; const OrderHeader = () => { const router = useRouter(); const pathname = usePathname(); const isExactOrders = pathname === '/orders'; const onBackHandler = () => { router.back(); }; const goToCartPage = () => { router.push('/cart'); }; return (

سفارش‌ها

{isExactOrders && (
90
)}
); }; export default OrderHeader;