aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff <jeffkleinaitis@gmail.com>2024-04-10 15:11:31 -0400
committerJeff <jeffkleinaitis@gmail.com>2024-04-10 15:11:31 -0400
commit345768ccbcbbc1c49e07c7be79769f9f86d9ff3a (patch)
tree15cfff5f426547da8b56a580461d5c450b59afd4
parent4daac8f5f6ee2beeea0ad3d5bcb94da7c4784743 (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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 9703cfc..069ae93 100644
--- a/src/App.js
+++ b/src/App.js
@@ -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 />} />