fix(referrals): restore existing hosted referral CTA and remove native placeholder

This commit is contained in:
DeCentN2Madness committed 2026-11-01 18:10:51 -07:00
1 parent 85def8466c
commit 5c8ba2e11e
7 files changed
+27 -11

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import { formModeForRuntime, resolveFormAIframe, resolveFormMode, resolveMockFor
const { lang = 'en', showBackground = false, route = '' } = Astro.props;
const text = formMessages(lang);
const title = Astro.props.title ?? text.heading;
const logicalForm: LogicalForm = Astro.props.logicalForm ?? (Astro.props.title === 'Physician & Insurer Referrals' ? 'referral' : 'service');
const logicalForm: LogicalForm = Astro.props.logicalForm ?? 'service';
const config = resolveFormMode(import.meta.env.PUBLIC_AIA_FORMS_MODE);
const mode = formModeForRuntime(config);
const mockResult = resolveMockFormResult(import.meta.env.PUBLIC_AIA_FORMS_MOCK_RESULT);