Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
faress-136 committed Dec 29, 2022
1 parent b8e3162 commit 84269cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ useEffect(()=>{
const routers = createBrowserRouter([
{path:"/", element:<MainLayout userData= {userData} logout={logout}/>, children:[
{path:"home", element:<ProtectedRoute userData= {userData}> <Home/> </ProtectedRoute>},
{path:"Movie_App/", element: <Home userData= {userData}/>},
{path:"register", element: <Register/>},
{path:"login", element: <Login saveUser={saveUser} />},
{path:"movies", element:<ProtectedRoute userData= {userData}> <Movies/> </ProtectedRoute>},
Expand Down

0 comments on commit 84269cc

Please sign in to comment.