import type { NextRouter } from "next/router"; import { useRouter } from "next/router"; import { AddNewOrgAdminsForm } from "@calcom/features/ee/organizations/components"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { WizardLayout, Meta } from "@calcom/ui"; import PageWrapper from "@components/PageWrapper"; const OnboardTeamMembersPage = () => { const { t } = useLocale(); const router = useRouter(); if (!router.isReady) return null; return ( <> ); }; OnboardTeamMembersPage.getLayout = (page: React.ReactElement, router: NextRouter) => ( { router.push(`/settings/organizations/${router.query.id}/add-teams`); }}> {page} ); OnboardTeamMembersPage.PageWrapper = PageWrapper; export default OnboardTeamMembersPage;