diff --git a/src/components/DynamicDeviceMap.tsx b/src/app/_components/DynamicDeviceMap.tsx similarity index 100% rename from src/components/DynamicDeviceMap.tsx rename to src/app/_components/DynamicDeviceMap.tsx diff --git a/src/app/page.tsx b/src/app/page.tsx index 1a4e90b..0bd3c5c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -7,7 +7,7 @@ import { getCommands, getLatestGPS, DeviceCommand, TelemetryPost, DeviceCommandT // Dynamically import the map component with SSR turned OFF to prevent "window is not defined" errors const DeviceMap = dynamic( - () => import("~/components/DeviceMapClient").then((mod) => mod.DeviceMap), + () => import("~/_components/DeviceMapClient").then((mod) => mod.DeviceMap), { ssr: false, loading: () =>

Loading map...

, @@ -99,6 +99,7 @@ export default function Dashboard() { +