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