diff --git a/src/Components/CareRequestForm/CareRequestForm.js b/src/Components/CareRequestForm/CareRequestForm.js index 545070f..45996a6 100644 --- a/src/Components/CareRequestForm/CareRequestForm.js +++ b/src/Components/CareRequestForm/CareRequestForm.js @@ -7,7 +7,7 @@ function CareRequestForm() { const [formData, setFormData] = useState({ aidType: '', description: '', - // You can add more fields as needed + // more fields ? }); const handleChange = (e) => { @@ -20,11 +20,11 @@ function CareRequestForm() { const handleSubmit = (e) => { e.preventDefault(); - // Here you should add the logic to send data to your server + // Here we should add the logic to send data to the server // For now, we'll just log the formData and navigate to a different page console.log(formData); - // After submitting, navigate to a different page, e.g., the dashboard or a success page + // After submitting, navigate to a different page, mayby the dashboard or a success page? navigate('/success'); }; @@ -37,14 +37,12 @@ function CareRequestForm() { - {/* Add other options as necessary */}