import { SearchParams } from "@/app/utils/fetchUtil"; import { getServerI18n } from "@/i18n"; import Add from "@mui/icons-material/Add"; import Button from "@mui/material/Button"; import Stack from "@mui/material/Stack"; import Typography from "@mui/material/Typography"; import { Metadata } from "next"; import Link from "next/link"; export const metadata: Metadata = { title: "Material Setting", }; type Props = {} & SearchParams; const material: React.FC = async ({ searchParams }) => { const { t } = await getServerI18n("material"); console.log(searchParams); return ( <> {t("Material")} {/* }> */} ); }; export default material;