Hi guys, a bit new to this gsap thing.
I saw a few threads around here talking about how to use gsap for landing animations that also utilise localstorage.
I have some code at the moment for this, but it seems as if gsap is breaking on the initial load, cancelling the animation entirely
import React, {useRef, useEffect} from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import Nav from './nav'
import {TweenMax} from 'gsap'
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root');
);
export defa