mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 17:21:41 +10:00
fix: build/ cleanup
This commit is contained in:
@ -64,12 +64,6 @@ export const Carousel = () => {
|
||||
setMounted(true);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (mounted && videoRefs.current[selectedIndex]) {
|
||||
videoRefs.current[selectedIndex].load();
|
||||
}
|
||||
}, [selectedIndex, mounted, resolvedTheme]);
|
||||
|
||||
const [emblaRef, emblaApi] = useEmblaCarousel({ loop: true }, [
|
||||
Autoplay({ playOnInit: true, delay: autoplayDelay[selectedIndex] || 5000 }),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user