Skip to content

Commit

Permalink
Add close on ban
Browse files Browse the repository at this point in the history
  • Loading branch information
n9lsjr committed Nov 12, 2024
1 parent 8c1c288 commit bbd143e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/rooms/components/UserInfo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
const ban = () => {
window.api.send('ban-user', {address: user.address, key: $rooms.thisRoom.key})
window.api.successMessage('Banned user')
$rooms.showUserInfo = false
close()
}
const close = () => {
Expand Down

0 comments on commit bbd143e

Please sign in to comment.