diff --git a/src/components/View.jsx b/src/components/View.jsx index 607a2c2..4140224 100644 --- a/src/components/View.jsx +++ b/src/components/View.jsx @@ -142,18 +142,19 @@ const SliderView = (props) => { {data.slides?.length > 1 && ( -
- {scrollSnaps.map((_, index) => ( - scrollTo(index)} - className={'slider-dot'.concat( - index === selectedIndex ? ' slider-dot--selected' : '', - )} - /> - ))} -
)} +
+ {scrollSnaps.map((_, index) => ( + scrollTo(index)} + className={'slider-dot'.concat( + index === selectedIndex ? ' slider-dot--selected' : '', + )} + /> + ))} +
+ )} )}