ajout plan byok, plus correction d'affichage et navigation

This commit is contained in:
2026-03-05 14:04:07 +01:00
parent d004281e05
commit d8ffc61b17
13 changed files with 336 additions and 45 deletions

View File

@@ -31,7 +31,7 @@ export default function PricingPage() {
isLoading={isLoading}
currentPlan={user?.subscription.plan || 'free'}
onBack={() => router.push(user ? '/dashboard' : '/')}
onSelectPlan={() => router.push(user ? '/checkout' : '/login')}
onSelectPlan={(id) => router.push(user ? `/checkout?plan=${id}` : '/login')}
/>
);
}