This commit is contained in:
PxlLoewe
2025-05-20 11:33:39 -07:00

View File

@@ -4,7 +4,12 @@ import { Mrt } from "pilot/_components/mrt/Mrt";
import { Chat } from "../_components/left/Chat"; import { Chat } from "../_components/left/Chat";
import { Report } from "../_components/left/Report"; import { Report } from "../_components/left/Report";
import { Dme } from "pilot/_components/dme/Dme"; import { Dme } from "pilot/_components/dme/Dme";
import dynamic from "next/dynamic";
const Map = dynamic(() => import("../dispatch/_components/map/Map"), {
ssr: false,
});
// ...existing code...
const DispatchPage = () => { const DispatchPage = () => {
return ( return (
<div className="relative flex-1 flex transition-all duration-500 ease w-full"> <div className="relative flex-1 flex transition-all duration-500 ease w-full">
@@ -16,18 +21,20 @@ const DispatchPage = () => {
<Report /> <Report />
</div> </div>
</div> </div>
</div> <div className="absolute top-4 right-0 pr-4 z-999999 items-end">
<div className="flex flex-col"> <div className="max-w-120 mb-2">
<div className="relative flex-1"> <Mrt />
<Mrt /> </div>
</div> <div className="max-w-110">
<div className="relative flex-1"> <Dme />
<Dme /> </div>
</div> </div>
<Map />
</div> </div>
</div> </div>
); );
}; };
// ...existing code...
DispatchPage.displayName = "DispatchPage"; DispatchPage.displayName = "DispatchPage";