mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-12 05:26:46 +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}
|
component={AddExperience}
|
||||||
/>
|
/>
|
||||||
<PrivateRoute exact path={Routes.ADD_EDUCATION} component={AddEducation} />
|
<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} />
|
<PrivateRoute exact path={Routes.POSTS} component={Posts} />
|
||||||
<Route component={NotFound} />
|
<Route component={NotFound} />
|
||||||
</Switch>
|
</Switch>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue