import { winofyFetch, type PaginatedResponse } from "@/lib/api/winofy"; import type { Neighborhood } from "@/types/api"; import { NeighborhoodSearch } from "@/components/location/neighborhood-search"; async function getNeighborhoods() { const res = await winofyFetch | Neighborhood[]>("/v1/neighborhoods/", { auth: false, params: { limit: 200 }, }); return Array.isArray(res) ? res : res.results; } export default async function NeighborhoodSearchPage() { const neighborhoods = await getNeighborhoods(); return ; }