feat: add user banning

This commit is contained in:
Xyphyn committed 2023-08-07 15:24:59 -07:00
1 parent 27de21a752
commit 10d70ea145
3 files changed
+45 -13

No files matched your search

@@ -63,7 +63,7 @@ export function remove(item: PostView | CommentView) {
}))
}
export function ban(banned: boolean, item: Person, community: Community) {
export function ban(banned: boolean, item: Person, community?: Community) {
modals.update((m) => ({
...m,
banning: {