import { I18nProvider, getServerI18n } from "@/i18n";
import React from "react";
import { Typography } from "@mui/material";
import CreateTeam from "@/components/CreateTeam";

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

  return (
    <>
      <Typography variant="h4">{t("Create Team")}</Typography>
      <I18nProvider namespaces={["team"]}>
        <CreateTeam/>
      </I18nProvider>
    </>
  );
};

export default CreateTeamPage;
