We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eba1de8 + 9bb783b commit fe2d09eCopy full SHA for fe2d09e
src/components/common/PostCard.tsx
@@ -64,7 +64,10 @@ function PostCard({ post }: PostCardProps) {
64
<Footer>
65
<Link className="userinfo" to={`/@${post.user.username}`}>
66
<img
67
- src={post.user.profile.thumbnail || userThumbnail}
+ src={optimizeImage(
68
+ post.user.profile.thumbnail || userThumbnail,
69
+ 120,
70
+ )}
71
alt={`user thumbnail of ${post.user.username}`}
72
/>
73
<span>
0 commit comments