change design poster and text head && design modal filter & data for filter and doctors & handle functionality filter, set in url, read from url and change state

This commit is contained in:
ehsan
2025-10-06 01:13:55 +03:30
parent 0b90e1abc4
commit e6893846bd
35 changed files with 1097 additions and 95 deletions
+7 -7
View File
@@ -13,13 +13,13 @@ import PointD from "@/components/icons/PointD";
function ItemDoctor({ doctor, loading, setDoctors }) {
const handleLoading = () => {
setDoctors((prevDoctors) =>
prevDoctors.map((item) =>
item.id === doctor.id
? { ...item, loading: true }
: { ...item, loading: false }
)
);
// setDoctors((prevDoctors) =>
// prevDoctors.map((item) =>
// item.id === doctor.id
// ? { ...item, loading: true }
// : { ...item, loading: false }
// )
// );
};
return (