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

@ -117,7 +117,7 @@ const CreateShortcutsButton = () => {
setShowModal(false);
} catch (error: any) {
console.error(error);
toast.error(error.response.data.message);
toast.error(error.details);
}
setIsLoading(false);
};