diff --git a/src/components/Attachments/Attachment.jsx b/src/components/Attachments/Attachment.jsx index 26f285d5..7b44e631 100644 --- a/src/components/Attachments/Attachment.jsx +++ b/src/components/Attachments/Attachment.jsx @@ -129,9 +129,13 @@ const Attachment = ({ handleKeyDown({ @@ -161,7 +165,7 @@ const Attachment = ({ @@ -190,11 +194,11 @@ const Attachment = ({ } diff --git a/src/components/Attachments/Preview.jsx b/src/components/Attachments/Preview.jsx index adc4f693..694d9a25 100644 --- a/src/components/Attachments/Preview.jsx +++ b/src/components/Attachments/Preview.jsx @@ -79,7 +79,7 @@ const Preview = ({ return ( diff --git a/src/components/Attachments/index.jsx b/src/components/Attachments/index.jsx index b03a4482..bf0b2108 100644 --- a/src/components/Attachments/index.jsx +++ b/src/components/Attachments/index.jsx @@ -53,8 +53,8 @@ const Attachments = ( data: file, }); } catch (error) { - if (error.message !== t("error.onBeforeFileAddedReturn")) { - Toastr.error(t("error.cannotAddFiles")); + if (error.message !== t("neetoEditor.error.onBeforeFileAddedReturn")) { + Toastr.error(t("neetoEditor.error.cannotAddFiles")); } } }); @@ -173,7 +173,7 @@ const Attachments = (