diff --git a/src/components/main/Header.jsx b/src/components/main/Header.jsx index 206cc94..bce18bb 100644 --- a/src/components/main/Header.jsx +++ b/src/components/main/Header.jsx @@ -104,6 +104,7 @@ const Header = () => { let burder = document.querySelector(".header__burger"); let nav = document.querySelector(".header__nav"); let navItem = document.querySelectorAll(".nav__item"); + let body = document.getElementsByTagName("body"); if (burder.classList.contains("active")) { burder.classList.remove("active"); nav.classList.remove("active"); @@ -372,7 +373,7 @@ const Header = () => { ) : ( "" )} -