Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- import { SearchParams } from "@/app/utils/fetchUtil";
- import { TypeEnum } from "@/app/utils/typeEnum";
- import CreateEquipmentType from "@/components/CreateEquipment";
- import { I18nProvider, getServerI18n } from "@/i18n";
- import { Typography } from "@mui/material";
- import isString from "lodash/isString";
-
- type Props = {} & SearchParams;
-
- const materialSetting: React.FC<Props> = async ({ searchParams }) => {
- // const type = TypeEnum.PRODUCT;
- const { t } = await getServerI18n("common");
- return (
- <>
- {/* <Typography variant="h4">{t("Create Material")}</Typography> */}
- <I18nProvider namespaces={["common"]}>
- <CreateEquipmentType />
- </I18nProvider>
- </>
- );
- };
- export default materialSetting;
|