refactor: using if else statement instead of ternary to avoid multiple elements with same ref in render
refactor: using if else statement instead of ternary to avoid multiple elements with same ref in render

leandrowd/react-responsive-carousel,leandrowd/react-responsive-carousel,leandrowd/react-responsive-carousel