chore: fix error message

This commit is contained in:
Steven 2023-11-12 16:39:19 +08:00
parent bbe2bdffe3
commit e89358cb0a

View File

@ -136,7 +136,7 @@ const CreateCollectionDialog: React.FC<Props> = (props: Props) => {
}
} catch (error: any) {
console.error(error);
toast.error(error.response.data.message);
toast.error(error.details);
}
};