From b9a10c183a384f1ef52a999e12cb28a7c4fbbf55 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 15 May 2024 12:45:42 -0400 Subject: more cleanup --- src/client/views/nodes/trails/SlideEffect.tsx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/client/views/nodes/trails') diff --git a/src/client/views/nodes/trails/SlideEffect.tsx b/src/client/views/nodes/trails/SlideEffect.tsx index bad1fd8fa..e0be86875 100644 --- a/src/client/views/nodes/trails/SlideEffect.tsx +++ b/src/client/views/nodes/trails/SlideEffect.tsx @@ -54,9 +54,6 @@ export default function SpringAnimation({ doc, dir, friction, tension, mass, pre once: true, }); - // Whether the animation is currently playing - const [animating, setAnimating] = useState(false); - const zoomConfig = { from: { scale: 0, @@ -248,13 +245,6 @@ export default function SpringAnimation({ doc, dir, friction, tension, mass, pre }, }; - const lightspeedConfig = { - from: { - opacity: 0, - }, - to: [], - }; - // Switch animation depending on slide effect const startAnimation = () => { api.stop(); -- cgit v1.2.3-70-g09d2