Skip to content

Commit

Permalink
remove overlay when no pagination"
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegulline committed May 10, 2024
1 parent 2ca4af9 commit 64ecb00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Carousel/Carousel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ export default function Carousel({ children }) {
attributeFilter: ['class'],
});
}
} else {
rightRef.current.classList.remove('block');
rightRef.current.classList.add('hidden');
}
}, []);

Expand Down

0 comments on commit 64ecb00

Please sign in to comment.