import type { NextRouter } from "next/router"; import { useRouter } from "next/router"; import { AddNewTeamsForm } from "@calcom/features/ee/organizations/components"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { WizardLayout, Meta } from "@calcom/ui"; import PageWrapper from "@components/PageWrapper"; export { getServerSideProps } from "@calcom/features/ee/organizations/pages/organization"; const AddNewTeamsPage = () => { const { t } = useLocale(); const router = useRouter(); if (!router.isReady) return null; return ( <> ); }; AddNewTeamsPage.getLayout = (page: React.ReactElement, router: NextRouter) => ( <> { router.push(`/event-types`); }}> {page} ); AddNewTeamsPage.PageWrapper = PageWrapper; export default AddNewTeamsPage;