Skip to content

Commit

Permalink
Strict comparison with 0 on autoplayINterval
Browse files Browse the repository at this point in the history
  • Loading branch information
lbebber committed Jul 8, 2019
1 parent fdba901 commit 23148aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/components/SliderContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SliderContainerComponent extends PureComponent {
if (
!autoplay ||
typeof autoplayInterval !== 'number' ||
autoplayInterval == 0
autoplayInterval === 0
) {
return
}
Expand Down

0 comments on commit 23148aa

Please sign in to comment.