refactor: update appointment components to fetch and handle doctor data and disabled dates
This commit is contained in:
@@ -5,7 +5,7 @@ function Address({ doctor }) {
|
||||
<li key={idx}>
|
||||
<div className="flex py-[12px] text-[#616161] text-[14px] items-start justify-start">
|
||||
<p className="font-bold min-w-[115px]">{`${item.name}: `}</p>
|
||||
<p className="font-normal">{item.location}</p>
|
||||
<p className="font-normal">{item.address || item.location}</p>
|
||||
</div>
|
||||
{doctor.address.length > idx + 1 && (
|
||||
<span className="bg-[#EFEFEF] block h-px w-full"></span>
|
||||
|
||||
Reference in New Issue
Block a user