"use client";
import { useRouter } from "next/navigation";
import { MapPin } from "lucide-react";
type SiteOption = { id: string; name: string };
export function SiteSelect({
sites,
currentSiteId,
baseHref,
paramKey = "siteId",
}: {
sites: SiteOption[];
currentSiteId: string | null;
baseHref: string;
paramKey?: string;
}) {
const router = useRouter();
return (
Sort by distance from:
{currentSiteId && (
)}
);
}