ryoji-s 3 лет назад
Родитель
Сommit
38286486a1

+ 1 - 2
packages/app/src/components/ReactMarkdownComponents/Attachment.tsx

@@ -61,10 +61,9 @@ export const Attachment: React.FC<{
     }
   }, [attachmentName, closeAttachmentDeleteModal, remove]);
 
-  // TODO: fix hydration failed error
   if (attachment == null) {
     return (
-      <div className='text-muted'>This attachment not found.</div>
+      <span className='text-muted'>This attachment not found.</span>
     );
   }