diff --git a/src/components/Navbar/Navbar.jsx b/src/components/Navbar/Navbar.jsx
index a6e6510..7f75cf8 100644
--- a/src/components/Navbar/Navbar.jsx
+++ b/src/components/Navbar/Navbar.jsx
@@ -62,13 +62,13 @@ function Navbar() {
element.scrollIntoView({ behavior: 'smooth' });
}
}
- handleMenuClose();
+ toggleMenu();
};
const renderAPODLink = () => {
if (location.pathname === '/') {
return (
-
+ toggleMenu()}>
APOD
);
@@ -84,7 +84,7 @@ function Navbar() {
const renderContactLink = () => {
if (location.pathname === '/') {
return (
-
+ toggleMenu()}>
@@ -102,26 +102,26 @@ function Navbar() {
return (