import { noop } from "lodash"; import { useRouter } from "next/router"; import React, { useEffect, useState } from "react"; import { Toaster } from "react-hot-toast"; import { StepCard, Steps } from "@calcom/ui"; export default function WizardLayout({ children, maxSteps = 2, currentStep = 0, }: { children: React.ReactNode; } & { maxSteps?: number; currentStep?: number }) { const [meta, setMeta] = useState({ title: "", subtitle: " " }); const router = useRouter(); const { title, subtitle } = meta; useEffect(() => { setMeta({ title: window.document.title, subtitle: window.document.querySelector('meta[name="description"]')?.getAttribute("content") || "", }); }, [router.asPath]); return (

{title} 

{subtitle} 

{children}
); } export const getLayout = (page: React.ReactElement) => {page};