import ServerList from "@/components/ServerList"; import ServerOverview from "@/components/ServerOverview"; import dynamic from "next/dynamic"; import GlobalLoading from "./ClientComponents/GlobalLoading"; const ServerGlobal = dynamic(() => import("./ClientComponents/Global"), { loading: () => , }); export default async function Home({ searchParams, }: { searchParams: Promise<{ [key: string]: string | string[] | undefined }>; }) { const global = (await searchParams).global; return (
{!global && } {global && }
); }