import { Metadata } from "next"; import { I18nProvider } from "@/i18n"; import { Suspense } from "react"; import { getServerI18n } from "@/i18n"; import DashboardPage from "@/components/DashboardPage"; import { SearchParams } from "@/app/utils/fetchUtil"; export const metadata: Metadata = { title: "Dashboard", }; type Props = { } & SearchParams const Dashboard: React.FC = async ({ searchParams }) => { const { t } = await getServerI18n("dashboard"); return ( }> ) }; export default Dashboard;