chore: update pr based on review

This commit is contained in:
Ephraim Atta-Duncan
2024-02-14 14:52:18 +00:00
parent cab875f68a
commit c680cfc24f
5 changed files with 4 additions and 24 deletions

View File

@ -124,9 +124,7 @@ export const ProfileForm = ({ className, user }: ProfileFormProps) => {
duration: 5000,
});
await signOut({ callbackUrl: '/' });
return;
return await signOut({ callbackUrl: '/' });
}
const { token } = deleteAccountTwoFactorTokenForm.getValues();