Skip to content

Commit 5766f0e

Browse files
committed
fix: cleanup registration form success message
1 parent 56e2915 commit 5766f0e

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/app/(pages)/register/register-form.tsx

+2-10
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ export default function RegistrationForm() {
4444
}
4545
};
4646

47-
// if (registrationTermsQuery.isFetching) {
48-
// return <div>loading...</div>;
49-
// }
50-
51-
// if (!registrationTermsQuery.data) {
52-
// return <div>error!</div>;
53-
// }
54-
5547
const handleSubmit = (data: RegistrationSchema): void => {
5648
const adjustedDateOfBirth = adjustDateForTimezone(data.dateOfBirth, "Europe/Lisbon");
5749

@@ -126,8 +118,8 @@ export default function RegistrationForm() {
126118
<DialogTitle>Registration Submitted</DialogTitle>
127119
<DialogDescription>
128120
<p>
129-
Thank you for signing up for this amazing event! We have received your registration and will get back to you soon with the
130-
payment details.
121+
Thank you for signing up for this amazing event! We have received your registration and will get back to you soon with
122+
more details.
131123
</p>
132124
<p>
133125
Please don’t forget to add <strong>[email protected]</strong> to your senders safe list.

0 commit comments

Comments
 (0)