import { Link } from "@remix-run/react";
import { ChevronLeft, Store } from "lucide-react";
import { Skeleton } from "./ui/skeleton";
import { ErrorState } from "./UiProvider";
interface SellerTile {
id?: string;
sellerId?: string;
sellerUsername?: string;
sellerName?: string;
imageUrl?: string;
order?: number;
}
interface SellerTilesGridProps {
sellers: SellerTile[];
isLoading: boolean;
isError: boolean;
refetch: () => void;
showViewAllButton?: boolean;
}
const SellerTilesGrid = ({
sellers,
isLoading,
isError,
refetch,
showViewAllButton = true,
}: SellerTilesGridProps) => {
if (isLoading) {
return