fix(dashboard-v2): fix Slider bullets showing unnecessarily
This commit is contained in:
parent
92c2860ccb
commit
279bd8cb8c
|
@ -61,12 +61,14 @@ const Slider = ({ slides, breakpoints }) => {
|
|||
);
|
||||
})}
|
||||
</Scroller>
|
||||
<Bullets
|
||||
activeIndex={activeIndex}
|
||||
allSlides={slides.length}
|
||||
visibleSlides={visibleSlides}
|
||||
changeSlide={changeSlide}
|
||||
/>
|
||||
{scrollable && (
|
||||
<Bullets
|
||||
activeIndex={activeIndex}
|
||||
allSlides={slides.length}
|
||||
visibleSlides={visibleSlides}
|
||||
changeSlide={changeSlide}
|
||||
/>
|
||||
)}
|
||||
</Container>
|
||||
);
|
||||
};
|
||||
|
|
Reference in New Issue