Skip to content

Commit

Permalink
Merge pull request #60 from DFanso/api-connections
Browse files Browse the repository at this point in the history
path bug fix
  • Loading branch information
VidwaDeSeram authored Jan 5, 2024
2 parents 2730b7b + 03cf84b commit 3fc4845
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions admin/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,13 @@ const App = () => {
element={<BookingGrid />}
/>
<Route path="/register-page" element={<RegisterPage />} />
<Route
path="/"
element={<Navigate replace to="/movies-view" />}
/>
</Routes>
</div>
</div>
</div>
) : (
<Routes>
<Route path="/" element={<Navigate replace to="/login" />} />
<Route path="/login" element={<Login />} />
<Route path="/register-page" element={<RegisterPage />} />
</Routes>
Expand Down

0 comments on commit 3fc4845

Please sign in to comment.