"use client"; import dynamic from "next/dynamic"; import { useNodes } from "@/lib/useNodes"; import { useActiveCalls } from "@/lib/useCalls"; // Leaflet is browser-only — must be dynamically imported with no SSR const MapView = dynamic(() => import("@/components/MapView"), { ssr: false }); export default function MapPage() { const { nodes, loading } = useNodes(); const activeCalls = useActiveCalls(); return (