Skip to content

Commit

Permalink
fix: fix the error details shown in the toast
Browse files Browse the repository at this point in the history
  • Loading branch information
SchadenKai committed Sep 24, 2024
1 parent 024dd85 commit fe32f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/app/profile/tabContent/profileTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function ProfileTab({
} else {
toast({
title: "Something went wrong during update",
description: `Error: ${response}`,
description: `Error: ${response.statusText}`,
variant: "destructive",
});
}
Expand Down

0 comments on commit fe32f37

Please sign in to comment.