mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-16 08:25:18 +02:00
feat(ui): 'check your email' confirmation on lead forms
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e5cc1308ed
commit
8a085c145e
3 changed files with 5 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ export function EnterpriseModal({ open, onOpenChange, source, prefill }: Enterpr
|
|||
},
|
||||
token,
|
||||
});
|
||||
toast.success("Thanks - our team will reach out about enterprise deployment.");
|
||||
toast.success("Check your inbox — we just emailed you the next steps (give it a minute).");
|
||||
reset();
|
||||
onOpenChange(false);
|
||||
} catch {
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ export function HireExpertModal({ open, onOpenChange, source, onOpenEnterprise }
|
|||
payload: { name, company, jobTitle, agentGoal, phone, volume },
|
||||
token,
|
||||
});
|
||||
toast.success("Thanks - we'll reach out about building your agent.");
|
||||
toast.success("Check your inbox — we just emailed you the next steps (give it a minute).");
|
||||
reset();
|
||||
onOpenChange(false);
|
||||
} catch {
|
||||
|
|
|
|||
|
|
@ -114,6 +114,9 @@ export function OnboardingModal({ open, onComplete }: OnboardingModalProps) {
|
|||
},
|
||||
token,
|
||||
});
|
||||
// Only the on-prem/enterprise lead path sends an email; plain
|
||||
// onboarding does not. Confirm the email just for this path.
|
||||
toast.success("Check your inbox — we just emailed you the next steps (give it a minute).");
|
||||
}
|
||||
} catch {
|
||||
// Swallowed — the user is already in the product; network calls are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue