diff options
author | Dessalines <tyhou13@gmx.com> | 2020-02-07 23:05:15 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-02-07 23:05:15 -0500 |
commit | ecd10482a6815fc3b51b2da7cd5f494c01c385e6 (patch) | |
tree | 16d25467ba4224bfd807122806d1f77ddfaee6e8 /ui/src/index.tsx | |
parent | 779a72581c4c1dee846296cd0f3ea761914aedc6 (diff) |
Add new comments views to main and community pages. Fixes #480
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r-- | ui/src/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 8a9aa3c3..c56f6c4e 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -41,7 +41,7 @@ class Index extends Component<any, any> { <Switch> <Route exact path={`/`} component={Main} /> <Route - path={`/home/type/:type/sort/:sort/page/:page`} + path={`/home/data_type/:data_type/listing_type/:listing_type/sort/:sort/page/:page`} component={Main} /> <Route path={`/login`} component={Login} /> @@ -56,7 +56,7 @@ class Index extends Component<any, any> { <Route path={`/post/:id/comment/:comment_id`} component={Post} /> <Route path={`/post/:id`} component={Post} /> <Route - path={`/c/:name/sort/:sort/page/:page`} + path={`/c/:name/data_type/:data_type/sort/:sort/page/:page`} component={Community} /> <Route path={`/community/:id`} component={Community} /> |