chore: fix error message

This commit is contained in:
Steven
2023-11-23 20:46:39 +08:00
parent a4e91541cf
commit 38e5398cb9
9 changed files with 10 additions and 9 deletions

View File

@ -50,7 +50,7 @@ const EditUserinfoDialog: React.FC<Props> = (props: Props) => {
toast("User information updated");
} catch (error: any) {
console.error(error);
toast.error(error.response.data.message);
toast.error(error.details);
}
requestState.setFinish();
};