refactor: pass doctorSlug prop to AppointmentList and ItemAppointment components
This commit is contained in:
@@ -24,7 +24,7 @@ async function Doctor({ params: { slug } }) {
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<DoctorPage doctor={doctor} comments={comments} />
|
||||
<DoctorPage doctor={doctor} comments={comments} slug={slug} />
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user