mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 18:21:28 +10:00
fix account deletion
This commit is contained in:
@ -45,7 +45,7 @@ export const DangerZoneSettings = () => {
|
||||
|
||||
// On the second click, delete the account
|
||||
if (count === 1) {
|
||||
await Promise.all([deleteUser, logout]);
|
||||
await Promise.all([deleteUser(), logout()]);
|
||||
|
||||
toast({
|
||||
variant: "success",
|
||||
|
||||
Reference in New Issue
Block a user