Fix Profile error handling

cgen-259f6aaaeb10497ea616016946839489
This commit is contained in:
Builder.io 2025-08-16 04:12:52 +00:00
parent 5b9e45f130
commit 7fe06c39dc

View file

@ -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);