add auto-selecotr to home page and handle set in data, search in specialties and send req for filter && add locations and change text
This commit is contained in:
@@ -12,9 +12,9 @@ function DoctorPage({ doctor, doctors, comments }) {
|
||||
<CustomLoading width={180} height={25}>
|
||||
<div className="flex items-center justify-start text-[14px] md:text-[16px] font-normal">
|
||||
<h2 className="text-[#9B9B9B] text-nowrap">
|
||||
{doctor?.expertise?.map(
|
||||
{doctor?.specialties?.map(
|
||||
(item, idx) =>
|
||||
`${item.name} ${doctor.expertise.length === idx + 1 ? ">" : "|"} `
|
||||
`${item.name} ${doctor.specialties.length === idx + 1 ? ">" : "|"} `
|
||||
)}
|
||||
</h2>
|
||||
<p className="text-[#525252] text-nowrap mr-1">{doctor?.name}</p>
|
||||
|
||||
Reference in New Issue
Block a user