Skip to content

Commit

Permalink
minor ui fixes to registration form
Browse files Browse the repository at this point in the history
  • Loading branch information
blahkheart committed Oct 17, 2024
1 parent edb0362 commit df73d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/components/ui/RegistrationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function RegistrationModal({ isOpen, onClose, selectedClass }: Registrati
setFormErrors(formattedErrors);
}
} finally {
handleClose();
!formErrors && handleClose();
}
};

Expand Down

0 comments on commit df73d81

Please sign in to comment.