]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/routes.ts
Comment Tree paging (#726)
[lemmy-ui.git] / src / shared / routes.ts
index 8035471b9028bb88b55711b35d07daf71398d0fc..336503f220e4fc450340160e8bdc2a4d87970d84 100644 (file)
@@ -72,12 +72,12 @@ export const routes: IRoutePropsWithFetch[] = [
     fetchInitialData: req => Communities.fetchInitialData(req),
   },
   {
-    path: `/post/:id/comment/:comment_id`,
+    path: `/post/:post_id`,
     component: Post,
     fetchInitialData: req => Post.fetchInitialData(req),
   },
   {
-    path: `/post/:id`,
+    path: `/comment/:comment_id`,
     component: Post,
     fetchInitialData: req => Post.fetchInitialData(req),
   },