fix: page doesn't reload on user deletion

This commit is contained in:
Elias Schneider
2025-02-14 14:41:52 +01:00
parent ec92e85c8d
commit a2e031326e

View File

@@ -413,7 +413,7 @@ const Account = () => {
onConfirm: async () => {
await userService
.removeCurrentUser()
.then(window.location.reload)
.then(()=> window.location.reload())
.catch(toast.axiosError);
},
})