Skip to content

The Open Source DocuSign Alternative.

fix: build/ cleanup

Timur Ercanc8d56104c5aa
diff --git a/apps/marketing/src/components/(marketing)/carousel.tsx b/apps/marketing/src/components/(marketing)/carousel.tsx
index 2285960b1..9aaac02c7 100644
--- a/apps/marketing/src/components/(marketing)/carousel.tsx
+++ b/apps/marketing/src/components/(marketing)/carousel.tsx
@@ -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 }),
]);