import type { GetServerSidePropsContext } from "next"; import Head from "next/head"; import { CreateANewTeamForm } from "@calcom/features/ee/teams/components"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { getLayout } from "@components/layouts/WizardLayout"; import { ssrInit } from "@server/lib/ssr"; const CreateNewTeamPage = () => { const { t } = useLocale(); return ( <> {t("create_new_team")} ); }; CreateNewTeamPage.getLayout = getLayout; export const getServerSideProps = async (context: GetServerSidePropsContext) => { const ssr = await ssrInit(context); return { props: { trpcState: ssr.dehydrate(), }, }; }; export default CreateNewTeamPage;