handle pagination in clinics page & change design login & fix bug filter state & change list most searched in home page & handle error page doctor item & change key url doctors and home page and get data from url & send data with url search to doctors page & show pagination only when list is long
This commit is contained in:
@@ -9,9 +9,9 @@ function Locations({ doctor, loading }) {
|
||||
</p>
|
||||
<ul className="flex w-full mt-[24px] flex-col justify-center items-start">
|
||||
{doctor.locations.map((item, idx) => (
|
||||
<CustomLoading loading={loading} width="full" height={40}>
|
||||
<CustomLoading key={idx} loading={loading} width="full" height={40}>
|
||||
<li className="w-full">
|
||||
<Item key={idx} data={item} />
|
||||
<Item data={item} />
|
||||
{doctor.locations.length > idx + 1 && (
|
||||
<span className="w-full h-px bg-[#EFEFEF] block my-[12px] md:my-[14px] lg:my-[16px]"></span>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user