import { Edit } from "@mui/icons-material";
import { useSearchParams } from "next/navigation";
// import EditStaff from "@/components/EditStaff";
import { Suspense } from "react";
import { I18nProvider, getServerI18n } from "@/i18n";
// import EditStaffWrapper from "@/components/EditStaff/EditStaffWrapper";
import { Metadata } from "next";
import EditSkill from "@/components/EditSkill";
import { Typography } from "@mui/material";


const EditSkillPage: React.FC = async () => {
    const { t } = await getServerI18n("staff");

  return (
    <>
      <Typography variant="h4">{t("Edit Skill")}</Typography>
      <I18nProvider namespaces={["team", "common"]}>
        <Suspense fallback={<EditSkill.Loading />}>
          <EditSkill />
        </Suspense>
      </I18nProvider>
      {/* <EditStaff /> */}
    </>
  );
};

export default EditSkillPage;
