"use client";

import { Skeleton } from "@heroui/react";
import { OrdersSkeleton } from "@/components/orders/state/OrdersSkeleton";

export default function OrdersLoading() {
  return (
    <div className="space-y-6">
      {/* Page heading skeleton */}
      <div className="space-y-2">
        <Skeleton className="h-8 w-40 rounded-md" />
        <Skeleton className="h-4 w-56 rounded-md" />
      </div>

      <OrdersSkeleton />
    </div>
  );
}
