import { useEffect } from 'react'; import { Link, useNavigate } from 'react-router-dom'; import { CheckCircle2, ArrowRight } from 'lucide-react'; import { PublicLayout } from '@/components/public/PublicLayout'; import { Button } from '@/components/ui/Button'; import { useQueryClient } from '@tanstack/react-query'; export default function BillingSuccessPage() { const navigate = useNavigate(); const qc = useQueryClient(); // Refresh billing/me state when the user lands here from Stripe useEffect(() => { qc.invalidateQueries(); }, [qc]); return (

You're upgraded

Stripe has confirmed your payment. Your firm's plan is being updated — usually within a few seconds. A confirmation email is on its way.

If your plan still shows as Starter after a minute,{' '} {' '} this page.

); }