aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/trails/SlideEffect.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/trails/SlideEffect.tsx')
-rw-r--r--src/client/views/nodes/trails/SlideEffect.tsx10
1 files changed, 0 insertions, 10 deletions
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();