Fix Profile error handling
cgen-259f6aaaeb10497ea616016946839489
This commit is contained in:
parent
5b9e45f130
commit
7fe06c39dc
1 changed files with 1 additions and 2 deletions
|
|
@ -199,10 +199,9 @@ export default function Profile() {
|
|||
description: "Your profile has been successfully updated.",
|
||||
});
|
||||
} catch (error) {
|
||||
aethexToast({
|
||||
toastError({
|
||||
title: "Update Failed",
|
||||
description: "Failed to update profile. Please try again.",
|
||||
type: "error",
|
||||
});
|
||||
} finally {
|
||||
setIsSaving(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue