about summary refs log tree commit diff
path: root/src/view/routes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/routes.ts')
-rw-r--r--src/view/routes.ts12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/view/routes.ts b/src/view/routes.ts
index d458813ec..a72afe592 100644
--- a/src/view/routes.ts
+++ b/src/view/routes.ts
@@ -7,7 +7,8 @@ import {Search} from './screens/Search'
 import {Notifications} from './screens/Notifications'
 import {NotFound} from './screens/NotFound'
 import {PostThread} from './screens/PostThread'
-import {PostLikedBy} from './screens/PostLikedBy'
+import {PostUpvotedBy} from './screens/PostUpvotedBy'
+import {PostDownvotedBy} from './screens/PostDownvotedBy'
 import {PostRepostedBy} from './screens/PostRepostedBy'
 import {Profile} from './screens/Profile'
 import {ProfileFollowers} from './screens/ProfileFollowers'
@@ -42,9 +43,14 @@ export const routes: Route[] = [
     r('/profile/(?<name>[^/]+)/post/(?<rkey>[^/]+)'),
   ],
   [
-    PostLikedBy,
+    PostUpvotedBy,
     'heart',
-    r('/profile/(?<name>[^/]+)/post/(?<rkey>[^/]+)/liked-by'),
+    r('/profile/(?<name>[^/]+)/post/(?<rkey>[^/]+)/upvoted-by'),
+  ],
+  [
+    PostDownvotedBy,
+    'heart',
+    r('/profile/(?<name>[^/]+)/post/(?<rkey>[^/]+)/downvoted-by'),
   ],
   [
     PostRepostedBy,