Skip to content

Commit

Permalink
hotfix: rename default redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Halil-Ibrahim-Kasapoglu committed Dec 16, 2024
1 parent a1fb0ca commit 76c673b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function App() {
path="/"
element={<Dashboard /*user={{ name: "John Doe" }}*/ />}
>
<Route path="home" element={<HomePage />} />
{/* <Route path="home" element={<HomePage />} /> */}
<Route path="community" element={<CommunityPage />} />
<Route path="community/create-post" element={<CreatePostPage />} />
<Route path="markets" element={<MarketsPage />} />
Expand All @@ -48,7 +48,7 @@ function App() {
<Route path="profile/:userId" element={<ProfilePage />} />

<Route path="/post/:postId" element={<PostView />} />
<Route path="/" element={<Navigate to="/home" />} />
<Route path="/" element={<Navigate to="/community" />} />
<Route path="*" element={<NotFound />} />
</Route>
</Routes>
Expand Down

0 comments on commit 76c673b

Please sign in to comment.