Skip to content

Commit 5473c2a

Browse files
committed
Update Settings.tsx
1 parent 3352f4c commit 5473c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/app/(org)/dashboard/settings/account/Settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const Settings = ({
2727
}),
2828
});
2929
if (!res.ok) {
30-
toast.error("Failed to update name");
30+
throw new Error("Failed to update name");
3131
}
3232
},
3333
onSuccess: () => {

0 commit comments

Comments
 (0)