update design and request pages dashboards & doctors & doctor item & clinics & clinic item and layout

This commit is contained in:
Ehsan
2025-06-07 04:22:52 +03:30
parent 0a8874c4ab
commit 7d6a9e6e33
38 changed files with 502 additions and 264 deletions
+5 -3
View File
@@ -10,9 +10,11 @@ function RelatedContent({ data, loading }) {
<UnderlineLG />
</AnimationTextHead>
<ul className="flex w-full lg:w-fit flex-col justify-start items-start">
{data?.map((item, idx) => (
<Item idx={idx} data={item} key={item.id} loading={loading} />
))}
{data &&
data.length &&
data?.map((item, idx) => (
<Item idx={idx} data={item} key={item.id} loading={loading} />
))}
</ul>
</div>
);