cleanded up ConenctedDispatcher, added modeSwitch to Tracker

This commit is contained in:
PxlLoewe
2025-06-08 18:27:45 -07:00
parent 1d63368172
commit b3bf256324
5 changed files with 15 additions and 103 deletions

View File

@@ -5,7 +5,8 @@ import { Chat } from "../_components/left/Chat";
import { Report } from "../_components/left/Report";
import { Dme } from "pilot/_components/dme/Dme";
import dynamic from "next/dynamic";
import { ConnectedDispatcher } from "./_components/ConnectedDispatcher";
import { ConnectedDispatcher } from "tracker/_components/ConnectedDispatcher";
const Map = dynamic(() => import("../_components/map/Map"), {
ssr: false,
});
@@ -22,9 +23,11 @@ const DispatchPage = () => {
</div>
</div>
<div className="flex w-2/3 h-full">
<div className="flex flex-1 h-full">
<div className="relative flex flex-1 h-full">
<Map />
<ConnectedDispatcher />
<div className="absolute top-5 right-10 z-99999">
<ConnectedDispatcher />
</div>
</div>
</div>
<div className="flex w-1/3 h-full">