"use client";
import ModeSwitchDropdown from "_components/navbar/ModeSwitchDropdown";
import dynamic from "next/dynamic";
import { ConnectedDispatcher } from "tracker/_components/ConnectedDispatcher";

const Map = dynamic(() => import("../_components/map/Map"), {
	ssr: false,
});

const Page = () => {
	return (
		<>
			<Map />
			<div className="flex gap-3 absolute top-5 right-10 z-99999">
				<ConnectedDispatcher />
				<ModeSwitchDropdown className="dropdown-end" />
			</div>
		</>
	);
};

export default Page;
