Skip to content

Commit 839419e

Browse files
fix(UncontrolledCarousel): fix autoPlay={false} (#654)
closes #653
1 parent 8099cd9 commit 839419e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/UncontrolledCarousel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class UncontrolledCarousel extends Component {
7777
activeIndex={activeIndex}
7878
next={this.next}
7979
previous={this.previous}
80-
ride={autoPlay && 'carousel'}
80+
ride={autoPlay ? 'carousel' : undefined}
8181
{...props}
8282
>
8383
{indicators && <CarouselIndicators

0 commit comments

Comments
 (0)