Hi. I need some basic help with gsap.timeline() in a react environment. See my code below:
import React, { useRef, useEffect } from 'react'
import gsap, { TweenMax, Linear } from 'gsap';
import { ReactComponent as Twitter } from '../assets/svg/social/twitter.svg'
const NavBar = () => {
let twitterIcon = useRef(null);
const tl = gsap.timeline()
// this is the hover effect, making it glow green (all attributes are correct)
const glowAnimation = (icon) => {