"use client"; import { usePathname } from "next/navigation"; import { classNames } from "@calcom/lib"; import { WEBAPP_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Button } from "@calcom/ui"; interface CtaRowProps { title: string; description: string; children: React.ReactNode; className?: string; } declare global { interface Window { Plain?: { // eslint-disable-next-line @typescript-eslint/no-explicit-any init: (config: any) => void; open: () => void; }; } } export const CtaRow = ({ title, description, className, children }: CtaRowProps) => { return ( <>

{title}

{description}

{children}
); }; const BillingView = () => { const pathname = usePathname(); const { t } = useLocale(); const returnTo = pathname; const billingHref = `/api/integrations/stripepayment/portal?returnTo=${WEBAPP_URL}${returnTo}`; const onContactSupportClick = async () => { if (window.Plain) { window.Plain.open(); } }; return ( <>

); }; export default BillingView;