Skip to content

Commit 5024c95

Browse files
authored
Merge pull request #227 from ELIXIR-NO/play/pause
Update carousel button text for play/pause
2 parents ce8fe8c + 6d6ab3f commit 5024c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/carousel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const Carousel = ({ images, autoSlideInterval = 3000 }) => {
120120
onClick={() => setIsPaused(!isPaused)}
121121
className="absolute top-4 right-4 bg-black bg-opacity-50 text-white text-sm px-3 py-1 rounded-full hover:bg-opacity-75"
122122
>
123-
{isPaused ? 'Play' : 'Pause'}
123+
{isPaused ? 'Play' : 'Pause'}
124124
</button>
125125

126126
{/* Zoomed view */}

0 commit comments

Comments
 (0)