feat(lead-gen): mount LeadFormsProvider in app layout

Wrap the sidebar branch of AppLayout with LeadFormsProvider so the shared
lead modals are available to the sidebar, billing card, and builder nudge.
Includes eslint import-order auto-fixes in TopUpModal and LeadFormsContext.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pritesh 2026-06-03 04:24:25 +05:30
parent 8084e99046
commit 6cfd05ec04
3 changed files with 35 additions and 32 deletions

View file

@ -23,10 +23,10 @@ import {
import { validateWorkEmail } from "./isPersonalEmail";
import {
type LeadSource,
TOPUP_COMPANY_SIZE_OPTIONS,
TOPUP_VOLUME_OPTIONS,
VOLUME_PRICING_GATE,
type LeadSource,
} from "./leadFieldOptions";
import { MathCaptcha } from "./MathCaptcha";
import { submitLead } from "./submitLead";