From 11fcfd27fdb34e0b478ad6459ec4943ce0e80186 Mon Sep 17 00:00:00 2001 From: Sudev Kiyada Date: Thu, 24 Jul 2025 14:02:50 +0530 Subject: [PATCH] cleanup advanced use docs --- src/components/ScrollyVideo/ScrollyVideo.mdx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/ScrollyVideo/ScrollyVideo.mdx b/src/components/ScrollyVideo/ScrollyVideo.mdx index e69e3c36..848efb85 100644 --- a/src/components/ScrollyVideo/ScrollyVideo.mdx +++ b/src/components/ScrollyVideo/ScrollyVideo.mdx @@ -424,14 +424,7 @@ Here is a [demo](?path=/story/components-graphics-scrollyvideo--advanced) that u jump: false, }); } - - animationFrame = requestAnimationFrame(jumpVideo); } - - // Cancel requestAnimationFrame on destroy - onDestroy(() => { - cancelAnimationFrame(animationFrame); - });