import { Button, Group, Text } from "@mantine/core"; import React from "react"; import { getBillingPortalLink } from "@/ee/billing/services/billing-service.ts"; export default function ManageBilling() { const handleBillingPortal = async () => { try { const portalLink = await getBillingPortalLink(); window.location.href = portalLink.url; } catch (err) { console.error("Failed to get billing portal link", err); } }; return ( <>
Manage subscription Manage your your subscription, invoices, update payment details, and more.
); }