diff --git a/src/components/Hero/HeroSection.js b/src/components/Hero/HeroSection.js index 257e744..9696a23 100644 --- a/src/components/Hero/HeroSection.js +++ b/src/components/Hero/HeroSection.js @@ -1,4 +1,5 @@ -import React, {useState} from "react"; +"use client" +import { useState, useEffect } from "react"; import heroText from "../../../public/images/HeroText.svg"; import linkArrow from "../../../public/images/LinkArrow.svg"; import regButton from "../../../public/images/RegisterButton.svg"; @@ -7,14 +8,13 @@ import HeroSectionImg from "../../../public/images/HeroSection.svg" function HeroSection() { const [isHovered, setIsHovered] = useState(false); - return (