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