Skip to content

Commit fe2d09e

Browse files
committed
Merge branch 'feature/grid-home' into develop
2 parents eba1de8 + 9bb783b commit fe2d09e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/common/PostCard.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ function PostCard({ post }: PostCardProps) {
6464
<Footer>
6565
<Link className="userinfo" to={`/@${post.user.username}`}>
6666
<img
67-
src={post.user.profile.thumbnail || userThumbnail}
67+
src={optimizeImage(
68+
post.user.profile.thumbnail || userThumbnail,
69+
120,
70+
)}
6871
alt={`user thumbnail of ${post.user.username}`}
6972
/>
7073
<span>

0 commit comments

Comments
 (0)