diff --git a/src/sections/blogs/components/Slider/index.tsx b/src/sections/blogs/components/Slider/index.tsx index 0ce04b4..1c24af4 100644 --- a/src/sections/blogs/components/Slider/index.tsx +++ b/src/sections/blogs/components/Slider/index.tsx @@ -98,8 +98,8 @@ const BlogsSlider = forwardRef((props, ref: any) => { } }} > - {posts.map((post: Post) => ( - + {posts.map((post: Post, i: number) => ( + ))} ); diff --git a/src/sections/blogs/index.tsx b/src/sections/blogs/index.tsx index 61df5fb..8d02cad 100644 --- a/src/sections/blogs/index.tsx +++ b/src/sections/blogs/index.tsx @@ -16,7 +16,7 @@ function Blogs() { sliderRef.current?.slidePrev()} onClickNext={() => sliderRef.current?.slideNext()} /> -
+