diff --git a/Frontend/src/pages/UserPanel/Farm/UpdateForm.jsx b/Frontend/src/pages/UserPanel/Farm/UpdateForm.jsx index 2c0a277..ead541d 100644 --- a/Frontend/src/pages/UserPanel/Farm/UpdateForm.jsx +++ b/Frontend/src/pages/UserPanel/Farm/UpdateForm.jsx @@ -6,6 +6,7 @@ const UpdateFarm = () => { const [location, setLocation] = useState(""); const [waterContent, setWaterContent] = useState(""); const [soilType, setSoilType] = useState(""); + const [sizeContent, setSizeContent] = useState(""); const [error, setError] = useState(null); const [success, setSuccess] = useState(false); const navigate = useNavigate(); @@ -16,6 +17,7 @@ const UpdateFarm = () => { location, waterContent, soilType, + size: sizeContent, }; try { @@ -116,6 +118,22 @@ const UpdateFarm = () => { required /> +