Update waitlist form success message to 'Enrollment successful please check your email for further instructions'

This commit is contained in:
2025-09-27 18:43:41 +05:30
parent 2b81e40547
commit 12cf76d5a3

View File

@@ -219,7 +219,7 @@ const WaitlistForm: React.FC<WaitlistFormProps> = ({ isVisible, onClose }) => {
try { try {
const res = await apiService.registerUser(payload); const res = await apiService.registerUser(payload);
setServerInfo(res.message || 'Registration successful. Check your email for OTP.'); setServerInfo('Enrollment successful please check your email for further instructions');
// Refresh waitlist data after successful registration // Refresh waitlist data after successful registration
logger.component('WaitlistForm', 'Refreshing waitlist after successful registration...'); logger.component('WaitlistForm', 'Refreshing waitlist after successful registration...');
await refreshWaitlist(); await refreshWaitlist();