Update waitlist form success message to 'Enrollment successful please check your email for further instructions'
This commit is contained in:
@@ -219,7 +219,7 @@ const WaitlistForm: React.FC<WaitlistFormProps> = ({ isVisible, onClose }) => {
|
||||
|
||||
try {
|
||||
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
|
||||
logger.component('WaitlistForm', 'Refreshing waitlist after successful registration...');
|
||||
await refreshWaitlist();
|
||||
|
||||
Reference in New Issue
Block a user