Hi everyone.
I have a problem related to the usage gsap and react.
There is a component in which I'm using gsap. The animation is working as expected but when i go from this particular page(the only one that has gsap) to another that doesn't have gsap I have the following errors in console and nothing is get rendered. Wnen I reload the page, errors are gone and everything is rendered.
In useEffect return I kill everything that is related to gsap. I also don't have a problem if I remove Sc