"use client"; import type { City } from "@transportationer/shared"; interface CitySelectorProps { cities: City[]; selected: string | null; onSelect: (slug: string) => void; } export function CitySelector({ cities, selected, onSelect }: CitySelectorProps) { const ready = cities.filter((c) => c.status === "ready"); if (ready.length === 0) { return (
No cities available. Add one in Admin →
); } return ( ); }