new survey page

This commit is contained in:
Dobromir Popov
2024-06-17 08:01:51 +03:00
parent 8ca2000ee4
commit 4da00d4ec3
8 changed files with 255 additions and 4 deletions

View File

@ -81,6 +81,7 @@ export default function ReportForm({ shiftId, existingItem, onDone }) {
};
fetchData();
}, [item.date, existingItem]);
const handleChange = ({ target }) => {
setItem({ ...item, [target.name]: target.value });
};