Update src/app/book-appointment/page.tsx

This commit is contained in:
2026-03-07 13:38:25 +00:00
parent f794a0101e
commit 7de6aa5f81

View File

@@ -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()) {