feat: add user banning
This commit is contained in:
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: {
|
||||
|
||||
Reference in new issue
Block a user