From 0201c8b4d52932760d87686424cdc0a4d39e60bd Mon Sep 17 00:00:00 2001
From: Sophie Zhang <sophie_zhang@brown.edu>
Date: Tue, 14 May 2024 13:37:58 -0400
Subject: cleaning, bug fixing

---
 src/client/views/nodes/trails/SlideEffect.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/client/views/nodes/trails/SlideEffect.tsx')

diff --git a/src/client/views/nodes/trails/SlideEffect.tsx b/src/client/views/nodes/trails/SlideEffect.tsx
index e04f53f06..db2ac1ea0 100644
--- a/src/client/views/nodes/trails/SlideEffect.tsx
+++ b/src/client/views/nodes/trails/SlideEffect.tsx
@@ -27,7 +27,10 @@ const infiniteOptions = {
     delay: 500,
 };
 
-// TODO: add visibility detector when the slide comes into view
+/**
+ * This component wraps around the doc to create an effect animation, and also wraps the preview animations
+ * for the effects as well.
+ */
 export default function SpringAnimation({ doc, dir, friction, tension, mass, presEffect, children, infinite }: Props) {
     const [springs, api] = useSpring(
         () => ({
-- 
cgit v1.2.3-70-g09d2

