diff --git a/src/components/NewsCarousel/NewsCarousel.tsx b/src/components/NewsCarousel/NewsCarousel.tsx index 6c944305b..364d39863 100644 --- a/src/components/NewsCarousel/NewsCarousel.tsx +++ b/src/components/NewsCarousel/NewsCarousel.tsx @@ -20,7 +20,7 @@ const CustomEllipse = ({ onClick }: any) => { } const NewsCarousel = ({ articles }: { articles: ArticleListItemRecord[] }) => { - const sliderRef = useRef() + const sliderRef = useRef(null) const settings = { dots: true,