Skip to content

Commit 4b6ed5c

Browse files
committed
oops
1 parent 0463c9c commit 4b6ed5c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/mdx/src/mdx-client/slideshow.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,7 @@ export function Slideshow({
9292
// If autoplay is enabled, and we are not at the end of the slides, move to the next slide
9393
if (autoPlay && !atSlideshowEnd) {
9494
const autoSlide = setTimeout(
95-
() => {
96-
slideNext();
97-
console.log('next');
98-
},
95+
() => slideNext(),
9996
autoPlay
10097
);
10198

0 commit comments

Comments
 (0)