fix: add pageination to user profiles

This commit is contained in:
Xyphyn committed 2023-07-27 11:52:09 -07:00
1 parent ef0cb48710
commit 8e75e05585
3 files changed
+61 -46

No files matched your search

+3
View File
@@ -6,3 +6,6 @@ export const isMutable = (post: PostView, me: PersonView) =>
export const isCommentMutable = (comment: CommentView, me: PersonView) =>
(me.person.admin && comment.comment.local) ||
me.person.id == comment.creator.id
export const isComment = (item: CommentView | PostView): item is CommentView =>
'comment' in item