From 29611824a861604a9414c6c39d06a42cd4d9c924 Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Thu, 27 Jul 2023 15:41:45 +0200 Subject: [PATCH] Latest --- packages/framer-motion/src/render/dom/scroll/observe.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/framer-motion/src/render/dom/scroll/observe.ts b/packages/framer-motion/src/render/dom/scroll/observe.ts index fb0ca30d55..941bff54b6 100644 --- a/packages/framer-motion/src/render/dom/scroll/observe.ts +++ b/packages/framer-motion/src/render/dom/scroll/observe.ts @@ -25,8 +25,5 @@ export function observeTimeline(update: Update, timeline: ProgressTimeline) { frame.update(onFrame, true) - return () => { - console.log("cancel timeline observation") - cancelFrame(onFrame) - } + return () => cancelFrame(onFrame) }