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.
 
 

29 rivejä
857 B

  1. import { Edit } from "@mui/icons-material";
  2. import { useSearchParams } from "next/navigation";
  3. // import EditStaff from "@/components/EditStaff";
  4. import { Suspense } from "react";
  5. import { I18nProvider, getServerI18n } from "@/i18n";
  6. // import EditStaffWrapper from "@/components/EditStaff/EditStaffWrapper";
  7. import { Metadata } from "next";
  8. import EditSkill from "@/components/EditSkill";
  9. import { Typography } from "@mui/material";
  10. const EditSkillPage: React.FC = async () => {
  11. const { t } = await getServerI18n("staff");
  12. return (
  13. <>
  14. <Typography variant="h4">{t("Edit Skill")}</Typography>
  15. <I18nProvider namespaces={["team", "common"]}>
  16. <Suspense fallback={<EditSkill.Loading />}>
  17. <EditSkill />
  18. </Suspense>
  19. </I18nProvider>
  20. {/* <EditStaff /> */}
  21. </>
  22. );
  23. };
  24. export default EditSkillPage;