From b66322b084bad4425b5c033947235b84bb63d9a9 Mon Sep 17 00:00:00 2001
From: liliana <liliana.sanfilippo@uni-bielefeld.de>
Date: Wed, 7 Aug 2024 13:52:15 +0200
Subject: [PATCH] main fix?

---
 src/components/testsvganimation.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/testsvganimation.tsx b/src/components/testsvganimation.tsx
index 2744fe2e..50211b52 100644
--- a/src/components/testsvganimation.tsx
+++ b/src/components/testsvganimation.tsx
@@ -17,8 +17,9 @@ function TestSVG() {
     gsap.registerPlugin(MotionPathPlugin);
     
     gsap.defaults({ease: "none"});
-
-    const main = gsap.timeline({
+    
+    let main; 
+    main = gsap.timeline({
       scrollTrigger: {
         trigger: "svg",
         scrub: true,
-- 
GitLab