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

14 lines
428 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,
2026-06-22 15:19:38 +02:00
loading: () => <div className="h-full w-full animate-pulse rounded-2xl bg-surface" />,
2026-06-16 09:43:48 +02:00
});
export function RouteMapSection({ points }: { points: RoutePoint[] }) {
return <RouteMap points={points} />;
}