From 7717eaf63a4b04d102ef8ef351e9eed6808ae72c Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Bajpai Date: Mon, 27 Jul 2026 01:38:12 +0530 Subject: [PATCH] fix: move React import to top of file in Hero.tsx Static import statements must appear before any non-import declarations per ES module spec. --- src/components/home/Hero.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/home/Hero.tsx b/src/components/home/Hero.tsx index 77f94d8a..7256482e 100644 --- a/src/components/home/Hero.tsx +++ b/src/components/home/Hero.tsx @@ -6,9 +6,9 @@ import Link from 'next/link'; import Button from '../ui/Button'; import InteractiveBackground from '../ui/InteractiveBackground'; import styles from './Hero.module.css'; +import { useEffect, useState, useRef } from 'react'; const LatestEventsHighlight = dynamic(() => import('./LatestEventsHighlight')); -import { useEffect, useState, useRef } from 'react'; const HeaderScene = dynamic(() => import('@/components/3d/HeaderScene'), { ssr: false,