Skip to content

Commit

Permalink
Merge branch 'front-end' of https://github.com/Matsadura/movie_name i…
Browse files Browse the repository at this point in the history
…nto front-end
  • Loading branch information
ila36IX committed Sep 15, 2024
2 parents a5202c8 + ee6d12c commit 2a6555b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions client/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import AllMoviesPage from "./scenes/AllMoviesPage.jsx";
import { ContextProvider } from "./components/Context.jsx";
import { PrivateRoute } from "./components/PrivateRoute.jsx";
import AuthPage from "./scenes/AuthPage.jsx";
import About from "./scenes/About.jsx";

createRoot(document.getElementById("root")).render(
// <App />
Expand All @@ -16,11 +17,9 @@ createRoot(document.getElementById("root")).render(
path="/"
element={<PrivateRoute open={true} element={HomePage} />}
/>
<Route
path="/AllMovies"
element={<PrivateRoute open={true} element={AllMoviesPage} />}
/>
<Route path="auth" element={<AuthPage />} />
<Route path="/AllMovies" element={<AllMoviesPage />} />
<Route path="/auth" element={<AuthPage />} />
<Route path="/about" element={<About />} />
</Routes>
</Router>
</ContextProvider>
Expand Down

0 comments on commit 2a6555b

Please sign in to comment.