fix(doctors): improve filter performance and resolve modal closing issues

This commit is contained in:
hamed
2026-06-21 15:47:37 +03:30
parent 2fc74a664e
commit cb13ba3f45
10 changed files with 232 additions and 58 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ function DoctorsPage({ matchedCity, matchedState, list }) {
const findItem = (key, name) =>
specialties.find((item) => item[key] === name);
const isParent =
findItem("name", fieldName) && findItem("name", fieldName).parent;
findItem("name", fieldName) && findItem("name", fieldName).parent_id;
const selectedState = searchParams.get("state") || matchedState?.name;
const selectedCity =