FPSMS-frontend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
733 B

  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;