change design and data list in doctor-item & handle component appointment in doctor-item & handle functionality date-picker & fix bug appointment page & add req get appointment list

This commit is contained in:
Ehsan
2025-07-09 03:05:48 +03:30
parent f951128074
commit c6e2657e45
57 changed files with 442 additions and 445 deletions
+1 -2
View File
@@ -11,10 +11,9 @@ async function Doctors({ searchParams }) {
const response = await axios.get(
"https://back-dev.clinic-pro.ir/api/v1/doctors"
);
doctors = response.data.$data;
doctors = response.data.data;
} catch (error) {
// console.error("problem with req:", error.message);
// return redirect("/unauthorized");
}
return (