We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7334bf6 commit 5392b30Copy full SHA for 5392b30
1 file changed
src/components/Slideshow.tsx
@@ -102,7 +102,7 @@ export default function Slideshow({
102
loading={index === curSlide ? "eager" : "lazy"}
103
/>
104
105
- {!isBackground && (
+ {!isBackground && slides.length > 1 && (
106
<div
107
onClick={toPrev}
108
className={
@@ -113,7 +113,7 @@ export default function Slideshow({
113
<
114
</div>
115
)}
116
117
118
onClick={toNext}
119
0 commit comments