Update src/app/book-appointment/page.tsx
This commit is contained in:
@@ -63,7 +63,7 @@ export default function BookAppointmentPage() {
|
||||
return Object.keys(newErrors).length === 0;
|
||||
};
|
||||
|
||||
const handleSubmit = (e: React.FormEvent) => {
|
||||
const handleSubmit = (e: React.FormEvent): void => {
|
||||
e.preventDefault();
|
||||
|
||||
if (validateForm()) {
|
||||
|
||||
Reference in New Issue
Block a user