mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
Fix layout issue (specifically to disallow scrolling on mobile)
This commit is contained in:
@@ -9,7 +9,6 @@ import Link from "next-intl/link";
|
||||
import { useTranslations } from "next-intl";
|
||||
|
||||
import useHamburgerClose from "@/hooks/useHamburgerClose";
|
||||
import ThemeSwitcher from "./ThemeSwitcher";
|
||||
|
||||
const HamburgerMenu = ({
|
||||
menuVisible,
|
||||
@@ -25,7 +24,7 @@ const HamburgerMenu = ({
|
||||
timeoutRef.current = setTimeout(() => {
|
||||
setMenuVisible(false);
|
||||
setMouseOverMenu(false);
|
||||
}, 2000);
|
||||
}, 4000);
|
||||
};
|
||||
|
||||
const handleMouseEnterMenu = () => {
|
||||
|
||||
Reference in New Issue
Block a user