refactor: pass doctorSlug prop to AppointmentList and ItemAppointment components

This commit is contained in:
hamed
2025-11-12 21:05:06 +03:30
parent 7e655356e5
commit 573edc1eb9
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ async function Doctor({ params: { slug } }) {
return (
<Layout>
<DoctorPage doctor={doctor} comments={comments} />
<DoctorPage doctor={doctor} comments={comments} slug={slug} />
</Layout>
);
}