mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-06 02:36:39 +00:00
add param to profile route
This commit is contained in:
parent
28f4bd9270
commit
06c4b5249c
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ const Router: FC = () => (
|
|||
<Route exact path={Routes.SIGN_UP} component={SignUp} />
|
||||
<Route exact path={Routes.SIGN_IN} component={SignIn} />
|
||||
<Route exact path={Routes.DEVELOPERS} component={Developers} />
|
||||
<Route exact path={Routes.PROFILE} component={Profile} />
|
||||
<Route exact path={`${Routes.PROFILE}/:id`} component={Profile} />
|
||||
<PrivateRoute exact path={Routes.EDIT_PROFILE} component={EditProfile} />
|
||||
<PrivateRoute exact path={Routes.DASHBOARD} component={Dashboard} />
|
||||
<PrivateRoute
|
||||
|
|
|
|||
Loading…
Reference in a new issue