diff --git a/frontend/src/pages/account/index.tsx b/frontend/src/pages/account/index.tsx index 2a8a43d..21ae1e0 100644 --- a/frontend/src/pages/account/index.tsx +++ b/frontend/src/pages/account/index.tsx @@ -413,7 +413,7 @@ const Account = () => { onConfirm: async () => { await userService .removeCurrentUser() - .then(window.location.reload) + .then(()=> window.location.reload()) .catch(toast.axiosError); }, })