diff --git a/bun.lockb b/bun.lockb index 1cc8b0b..c6f12e2 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 2343871..3cf9643 100644 --- a/package.json +++ b/package.json @@ -52,4 +52,4 @@ "husky": "^8.0.3", "typescript": "*" } -} \ No newline at end of file +} diff --git a/src/app/Hero.tsx b/src/app/Hero.tsx index 17126b0..43c1bc1 100644 --- a/src/app/Hero.tsx +++ b/src/app/Hero.tsx @@ -96,6 +96,7 @@ const Hero: FC = () => { alt="EntGamers" width={500} height={500} + priority /> diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index 0d4de25..4097a46 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -14,7 +14,6 @@ const Header: FC = () => { const [isScrolled, setIsScrolled] = useState(typeof window !== 'undefined' ? window.scrollY > 0 : false) const handleScroll = useCallback(() => { if (typeof window === 'undefined') return - console.log(window.scrollY) setIsScrolled(window.scrollY > 0) }, []) useEffect(() => {