🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update DeleteAccount component to reload the page after successful account deletion instead of redirecting to the login page
Bill Yangd87731578806
diff --git a/client/src/app/account/components/DeleteAccount.tsx b/client/src/app/account/components/DeleteAccount.tsxindex e8ff75811..232e65caa 100644--- a/client/src/app/account/components/DeleteAccount.tsx+++ b/client/src/app/account/components/DeleteAccount.tsx@@ -60,8 +60,7 @@ export function DeleteAccount() {queryClient.clear();toast.success("Account successfully deleted");setIsOpen(false);-- router.push("/login");+ window.location.reload();} catch (error) {toast.error(`Failed to delete account: ${error}`);} finally {