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:
@@ -31,9 +31,9 @@ function Title({ doctor }) {
|
||||
<TextLoading width={100} height={20}>
|
||||
<h3 className="text-[#525252] text-[14px] md:text-[16px] font-medium">
|
||||
تخصص:
|
||||
{doctor?.expertise?.map(
|
||||
{doctor?.specialties?.map(
|
||||
(item, idx) =>
|
||||
`${item.name} ${doctor.expertise.length === idx + 1 ? "" : "|"} `
|
||||
`${item.name} ${doctor.specialties.length === idx + 1 ? "" : "|"} `
|
||||
)}
|
||||
</h3>
|
||||
</TextLoading>
|
||||
|
||||
Reference in New Issue
Block a user