diff --git a/apps/rebreak-native/hooks/useCustomDomains.ts b/apps/rebreak-native/hooks/useCustomDomains.ts index 5f3ccb0..9bada2a 100644 --- a/apps/rebreak-native/hooks/useCustomDomains.ts +++ b/apps/rebreak-native/hooks/useCustomDomains.ts @@ -186,8 +186,12 @@ export function useCustomDomains(plan: Plan): UseCustomDomainsReturn { ).length, }; - const webLimit = plan === 'legend' ? 8 : 4; - const mailLimit = plan === 'legend' ? 2 : 1; + // Provisional client-side limits — match plan-features.ts on the backend + // (free/pro: 5+5, legend: 10+10). Will be replaced by API-driven values + // once GET /api/custom-domains routes the new { items, counts, limits } + // response shape through the hook. + const webLimit = plan === 'legend' ? 10 : 5; + const mailLimit = plan === 'legend' ? 10 : 5; const limits: LimitsByType = { web: webLimit, mail: mailLimit }; return {