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.
|
- 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;
|