diff --git a/src/components/Directory/NotesDirectory.jsx b/src/components/Directory/NotesDirectory.jsx index 835307e8..1dc56232 100644 --- a/src/components/Directory/NotesDirectory.jsx +++ b/src/components/Directory/NotesDirectory.jsx @@ -85,9 +85,7 @@ const NotesDirectory = ({ } catch (error) { setIsSubmitting(false); const msg = - error.response?.data?.message || - error.message || - "Error occurred during API calling"; + error.response?.data?.message || error.message || "Error occurred during API calling"; showToast(msg, "error"); } }; @@ -197,7 +195,7 @@ const NotesDirectory = ({ )} -