remove delete

This commit is contained in:
Alex Holliday committed 2026-02-07 19:59:28 +00:00
1 parent 4945b29334
commit 4f4203dbb3
1 file changed
-10
-10
View File
@@ -77,16 +77,6 @@ export const TabProfile = () => {
// }
};
const handleDeleteAccount = async () => {
const result = await deleteFn("/auth/user");
if (result?.success) {
dispatch(clearAuthState());
navigate("/login");
}
};
const showDeleteSection = !user?.role?.includes("demo");
return (
<>
<Box