removed console.logs
This commit is contained in:
parent
99e35ff29c
commit
8d0a8903b4
@ -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}>
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user