removed console.logs

This commit is contained in:
Amritanshu Agrawal 2024-09-26 09:58:06 +05:30
parent 99e35ff29c
commit 8d0a8903b4
2 changed files with 0 additions and 3 deletions

View File

@ -29,8 +29,6 @@ export function HeroSwiper() {
}} }}
pagination={{ clickable: true }} pagination={{ clickable: true }}
scrollbar={{ draggable: true }} scrollbar={{ draggable: true }}
onSwiper={(swiper) => console.log(swiper)}
onSlideChange={() => console.log('slide change')}
> >
{slides.map((slide) => ( {slides.map((slide) => (
<SwiperSlide key={slide.name}> <SwiperSlide key={slide.name}>

View File

@ -17,7 +17,6 @@ export async function fetchInstagramPosts(): Promise<InstagramPost[]> {
const data = await res.json(); const data = await res.json();
if (data?.data) { if (data?.data) {
console.log(data.data);
return data.data return data.data
.filter((post: InstagramPost) => post.media_type === 'IMAGE') .filter((post: InstagramPost) => post.media_type === 'IMAGE')
.slice(0, 5); .slice(0, 5);