From afaf2ef21a33e895c08978157cea3865029426f3 Mon Sep 17 00:00:00 2001 From: HoangNDM6 Date: Tue, 23 Jul 2024 13:51:40 +0700 Subject: [PATCH] update --- src/sections/blogs/components/Slider/index.tsx | 4 ++-- src/sections/blogs/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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()} /> -
+