Files
knur-app/components/route-map-section.tsx

14 lines
427 B
TypeScript
Raw Normal View History

2026-06-16 09:43:48 +02:00
"use client";
import nextDynamic from "next/dynamic";
import type { RoutePoint } from "@/lib/models/running";
const RouteMap = nextDynamic(() => import("@/components/route-map").then((m) => m.RouteMap), {
ssr: false,
loading: () => <div className="h-full w-full animate-pulse rounded-lg bg-surface" />,
});
export function RouteMapSection({ points }: { points: RoutePoint[] }) {
return <RouteMap points={points} />;
}