@@ -113,43 +108,49 @@ const SliderView = (props) => {
)}
{data.slides?.length > 0 && (
-
}
- prevArrow={
}
- slideWidth="1200px"
- // This syncs the current slide with the SliderContext state
- // responding to the slide change event from the slider itself
- // (the dots or the arrows)
- afterChange={(current) => isEditMode && setSlideIndex(current)}
- beforeChange={(current) => setSlideViewIndex(current)}
- >
- {data.slides &&
- data.slides.map((item, index) => {
- return (
-
-
-
- );
- })}
-
+ <>
+