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.
 
 

27 regels
645 B

  1. import { Metadata } from "next";
  2. import { getServerI18n, I18nProvider } from "@/i18n";
  3. import Typography from "@mui/material/Typography";
  4. import { preloadQcItem } from "@/app/api/settings/qcItem";
  5. import QcItemSave from "@/components/QcItemSave";
  6. export const metadata: Metadata = {
  7. title: "Qc Item",
  8. };
  9. const qcItem: React.FC = async () => {
  10. const { t } = await getServerI18n("qcItem");
  11. return (
  12. <>
  13. <Typography variant="h4" marginInlineEnd={2}>
  14. {t("Create Qc Item")}
  15. </Typography>
  16. <I18nProvider namespaces={["qcItem"]}>
  17. <QcItemSave />
  18. </I18nProvider>
  19. </>
  20. );
  21. };
  22. export default qcItem;