React-Multi-Carousel Infinite Loop, causando um problema

issue: https://github.com/YIZHUANG/react-multi-carousel/issues/245
solution: https://stackoverflow.com/questions/59676168/return-back-to-first-slide-when-carousel-reaches-last
Coding Era