fix: page doesn't reload on user deletion
This commit is contained in:
@@ -413,7 +413,7 @@ const Account = () => {
|
||||
onConfirm: async () => {
|
||||
await userService
|
||||
.removeCurrentUser()
|
||||
.then(window.location.reload)
|
||||
.then(()=> window.location.reload())
|
||||
.catch(toast.axiosError);
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user