Skip to content

Commit

Permalink
feat(profile): private route for profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
bluediu committed May 6, 2022
1 parent 60daac0 commit 55dc82a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/AppRouter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ function AppRouter() {
component={CategoriesScreen}
/>

<Route
<PrivateRoute
path={ROUTE.PROFILE}
isAuthenticated={!uid}
component={ProfileScreen}
/>

Expand Down

0 comments on commit 55dc82a

Please sign in to comment.