]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/routes.ts
Reporting (#434)
[lemmy-ui.git] / src / shared / routes.ts
index 2681b234e8223965248ffa9e067e28551a008da5..ddc3b621f27594856a8045c47a7060f791b9823e 100644 (file)
@@ -12,6 +12,7 @@ import { Signup } from "./components/home/signup";
 import { Modlog } from "./components/modlog";
 import { Inbox } from "./components/person/inbox";
 import { Profile } from "./components/person/profile";
+import { Reports } from "./components/person/reports";
 import { Settings } from "./components/person/settings";
 import { CreatePost } from "./components/post/create-post";
 import { Post } from "./components/post/post";
@@ -122,6 +123,11 @@ export const routes: IRoutePropsWithFetch[] = [
     component: AdminSettings,
     fetchInitialData: req => AdminSettings.fetchInitialData(req),
   },
+  {
+    path: `/reports`,
+    component: Reports,
+    fetchInitialData: req => Reports.fetchInitialData(req),
+  },
   {
     path: `/search/q/:q/type/:type/sort/:sort/listing_type/:listing_type/community_id/:community_id/creator_id/:creator_id/page/:page`,
     component: Search,