cal.pub0.org/apps/web/pages/settings/teams/[id]/onboard-members.tsx

31 lines
811 B
TypeScript

import Head from "next/head";
import AddNewTeamMembers from "@calcom/features/ee/teams/components/AddNewTeamMembers";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import PageWrapper from "@components/PageWrapper";
import WizardLayout from "@components/layouts/WizardLayout";
const OnboardTeamMembersPage = () => {
const { t } = useLocale();
return (
<>
<Head>
<title>{t("add_team_members")}</title>
<meta name="description" content={t("add_team_members_description")} />
</Head>
<AddNewTeamMembers />
</>
);
};
OnboardTeamMembersPage.getLayout = (page: React.ReactElement) => (
<WizardLayout currentStep={2} maxSteps={2}>
{page}
</WizardLayout>
);
OnboardTeamMembersPage.PageWrapper = PageWrapper;
export default OnboardTeamMembersPage;