fix bug change selector data

This commit is contained in:
Ehsan
2024-10-11 20:28:56 +03:30
parent 81e68e7b62
commit ecb8fcb8bf
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ function PlaceVisit({ locateVisit, setLocateVisit, isError }) {
{ label: "درمانگاه مرکزی", id: 30 },
];
const updateData = (event) => setLocateVisit(event.target.innerText);
const updateData = (event) => setLocateVisit(event);
return (
<div className="flex flex-col items-start gap-[19px] justify-start">