import {createClient} from "@/lib/supabase/server"; import AccountBillingStatus from "@/components/basejump/account-billing-status"; import { Alert, AlertTitle, AlertDescription } from "@/components/ui/alert"; const returnUrl = process.env.NEXT_PUBLIC_URL as string; export default async function TeamBillingPage({params: {accountSlug}}: {params: {accountSlug: string}}) { const supabaseClient = await createClient(); const {data: teamAccount} = await supabaseClient.rpc('get_account_by_slug', { slug: accountSlug }); if (teamAccount.account_role !== 'owner') { return ( Access Denied You do not have permission to access this page. ) } return (

Team Billing

Manage your team's subscription and billing details.

) }