import { useRouter } from "next/router"; import { WEBAPP_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Button, Meta } from "@calcom/ui"; import { FiExternalLink } from "@calcom/ui/components/icon"; import { getLayout } from "../../../settings/layouts/SettingsLayout"; const BillingView = () => { const { t } = useLocale(); const router = useRouter(); const returnTo = router.asPath; const billingHref = `/api/integrations/stripepayment/portal?returnTo=${WEBAPP_URL}${returnTo}`; return ( <>
{t("billing_manage_details_description")}