Vets-Who-Code / vets-who-code-app

http://vetswhocode.io
47 stars 35 forks source link

Fix forms #507

Closed jeromehardaway closed 11 months ago

jeromehardaway commented 11 months ago

🤖 Generated by Copilot at 6102478

Summary

🔄♻️📝

This pull request improves the functionality and reusability of the form components in the vets-who-code-app repository. It adds a reset function to the useForm hook and the ApplyForm component to clear the form fields after submission or cancellation. It also refactors the ContactForm and the MentorForm components to use the generic ApplyForm component and moves them to separate files.

To improve the user interface We refactored some form components We moved ContactForm to its place And used useForm's reset To clear ApplyForm in any case

Walkthrough

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
vets-who-code-app ✅ Ready (Inspect) Visit Preview Aug 15, 2023 3:36pm