* 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 <[email protected]>
9 lines
159 B
TypeScript
9 lines
159 B
TypeScript
export const isFormValid = (data: { [x: string]: any }) => {
|
|
for (const key in data) {
|
|
if (!data[key]) {
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
};
|