add nip-94 to newsfeed

This commit is contained in:
Ren Amamiya
2023-05-08 12:18:48 +07:00
parent 841e8def88
commit 09380e4fef
15 changed files with 60 additions and 50 deletions

View File

@@ -5,5 +5,7 @@ export const Image = (props) => {
event.currentTarget.src = DEFAULT_AVATAR;
};
return <img {...props} loading="lazy" decoding="async" onError={addImageFallback} />;
return (
<img {...props} loading="lazy" decoding="async" onError={addImageFallback} style={{ contentVisibility: 'auto' }} />
);
};