Fix layout issue (specifically to disallow scrolling on mobile)

This commit is contained in:
Timothy Armes
2023-07-07 08:09:34 +02:00
parent 9f23d31872
commit ad618809f2
11 changed files with 16 additions and 18 deletions
+1 -2
View File
@@ -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 = () => {