diff options
author | Jeff <jeffkleinaitis@gmail.com> | 2024-04-10 15:11:31 -0400 |
---|---|---|
committer | Jeff <jeffkleinaitis@gmail.com> | 2024-04-10 15:11:31 -0400 |
commit | 345768ccbcbbc1c49e07c7be79769f9f86d9ff3a (patch) | |
tree | 15cfff5f426547da8b56a580461d5c450b59afd4 | |
parent | 4daac8f5f6ee2beeea0ad3d5bcb94da7c4784743 (diff) |
refactor: Add all former paths from NextJS version, and setup excluded routes array to handle routes where the nav bar, footer, and widget are not rendered
-rw-r--r-- | src/App.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ function App() { return ( <div className="App"> - {!excludedRoutes.includes(location.pathname) && <Navbar />} + {!excludedRoutes.includes(location.pathname) && <Navbar />} <Routes> <Route path="/" element={<Home />} /> <Route path="/about" element={<About />} /> |