mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-09 12:06:40 +00:00
add params to post route
This commit is contained in:
parent
32b336327a
commit
52680f0bdf
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const Router: FC = () => (
|
|||
component={AddExperience}
|
||||
/>
|
||||
<PrivateRoute exact path={Routes.ADD_EDUCATION} component={AddEducation} />
|
||||
<PrivateRoute exact path={Routes.POST} component={PostPage} />
|
||||
<PrivateRoute exact path={`${Routes.POST}/:id`} component={PostPage} />
|
||||
<PrivateRoute exact path={Routes.POSTS} component={Posts} />
|
||||
<Route component={NotFound} />
|
||||
</Switch>
|
||||
|
|
|
|||
Loading…
Reference in a new issue