We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3352f4c commit 5473c2aCopy full SHA for 5473c2a
apps/web/app/(org)/dashboard/settings/account/Settings.tsx
@@ -27,7 +27,7 @@ export const Settings = ({
27
}),
28
});
29
if (!res.ok) {
30
- toast.error("Failed to update name");
+ throw new Error("Failed to update name");
31
}
32
},
33
onSuccess: () => {
0 commit comments