Files
classroomio/apps/classroomio-com/src/lib/utils/isFormValid.ts
T
Rotimi Bestandemmanuel 89569fe6d1 feat: /contact page on classroomio-com (#428)
* contact page v1

* finished the UI of the contact us page

* working on the forms

* All functions and logic done

* some refactor

* some refactor

* some refactor

* some refactor

* added loading icon

* removed the image

* finished the send email

* some cleanup

* chore: refactoring

* finishing touches

* update .env.example

---------

Co-authored-by: emmanuel <chifez1@gmail.com>
2024-11-12 02:18:51 +01:00

9 lines
159 B
TypeScript

export const isFormValid = (data: { [x: string]: any }) => {
for (const key in data) {
if (!data[key]) {
return false;
}
}
return true;
};