FPSMS-frontend
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

12345678910111213141516171819202122
  1. import { SearchParams } from "@/app/utils/fetchUtil";
  2. import { TypeEnum } from "@/app/utils/typeEnum";
  3. import CreateEquipmentType from "@/components/CreateEquipment";
  4. import { I18nProvider, getServerI18n } from "@/i18n";
  5. import { Typography } from "@mui/material";
  6. import isString from "lodash/isString";
  7. type Props = {} & SearchParams;
  8. const materialSetting: React.FC<Props> = async ({ searchParams }) => {
  9. // const type = TypeEnum.PRODUCT;
  10. const { t } = await getServerI18n("common");
  11. return (
  12. <>
  13. {/* <Typography variant="h4">{t("Create Material")}</Typography> */}
  14. <I18nProvider namespaces={["common"]}>
  15. <CreateEquipmentType />
  16. </I18nProvider>
  17. </>
  18. );
  19. };
  20. export default materialSetting;