This commit is contained in:
Kakabay 2024-10-23 16:33:48 +05:00
parent e38ff51c39
commit ae61837228
1 changed files with 3 additions and 3 deletions

View File

@ -34,9 +34,9 @@ const SmallSwiperNews = () => {
clickable: true,
}}>
{/* PAY ATTENTION [data] is wrapped in an array */}
<SwiperSlide>
<LinkBlock href="/news" content="Habarlar" color="#a554f0" />
</SwiperSlide>
{/* <SwiperSlide>
<LinkBlock href={''} content="Habarlar" color="#a554f0" />
</SwiperSlide> */}
{data?.data.map((item, index) => (
<SwiperSlide key={v4()} className="">
<Link href={item ? `news/${item.id}` : ''} className="relative ">