diff --git a/src/Pages/Shopping/Shopping.jsx b/src/Pages/Shopping/Shopping.jsx index fe45b94..e316da5 100644 --- a/src/Pages/Shopping/Shopping.jsx +++ b/src/Pages/Shopping/Shopping.jsx @@ -1,15 +1,10 @@ import React from 'react' import './Shopping.css' -import activePage from '../../compenent/ActivePage/ActivePage' function Shopping() { - React.useEffect(() => { - activePage("shopping__page") - }, []); - return (
Shopping
) diff --git a/src/compenent/ActivePage/ActivePage.js b/src/compenent/ActivePage/ActivePage.js index b267196..0791a6b 100644 --- a/src/compenent/ActivePage/ActivePage.js +++ b/src/compenent/ActivePage/ActivePage.js @@ -6,7 +6,6 @@ const activePage = (pageId) => { document.getElementById("maps__page").removeAttribute("class", "active__page") document.getElementById("translate__page").removeAttribute("class", "active__page") document.getElementById("books__page").removeAttribute("class", "active__page") - document.getElementById("shopping__page").removeAttribute("class", "active__page") document.getElementById(`${pageId}`).setAttribute("class", "active__page") } diff --git a/src/compenent/ActivePage/ActivePage.jsx b/src/compenent/ActivePage/ActivePage.jsx index b267196..0791a6b 100644 --- a/src/compenent/ActivePage/ActivePage.jsx +++ b/src/compenent/ActivePage/ActivePage.jsx @@ -6,7 +6,6 @@ const activePage = (pageId) => { document.getElementById("maps__page").removeAttribute("class", "active__page") document.getElementById("translate__page").removeAttribute("class", "active__page") document.getElementById("books__page").removeAttribute("class", "active__page") - document.getElementById("shopping__page").removeAttribute("class", "active__page") document.getElementById(`${pageId}`).setAttribute("class", "active__page") } diff --git a/src/compenent/Navbar/Navbar.jsx b/src/compenent/Navbar/Navbar.jsx index 35a17ed..51d1321 100644 --- a/src/compenent/Navbar/Navbar.jsx +++ b/src/compenent/Navbar/Navbar.jsx @@ -120,17 +120,7 @@ const Navbar = () => { Books - {/* - - - - - - - - - Shopping - */} + diff --git a/src/compenent/Navbar/NavbarTranslate.jsx b/src/compenent/Navbar/NavbarTranslate.jsx index 1253fce..acf2a8a 100644 --- a/src/compenent/Navbar/NavbarTranslate.jsx +++ b/src/compenent/Navbar/NavbarTranslate.jsx @@ -71,17 +71,6 @@ const NavbarTranslate = () => { Books - {/* - - - - - - - - - Shopping - */}