diff --git a/components/achievements/infiniteSlider.jsx b/components/achievements/infiniteSlider.jsx index ecd753a..5c86e94 100644 --- a/components/achievements/infiniteSlider.jsx +++ b/components/achievements/infiniteSlider.jsx @@ -11,20 +11,25 @@ const InfiniteSlider = ({ data, direction }) => { }, 1000); return () => clearTimeout(delay); }, []); + + const moveRight = direction === "right" || direction === true; + return ( -