@@ -3,8 +3,8 @@ import { useEffect, useState } from "react";
33import { useDeleteLike , usePostLike } from "@/apis/community" ;
44import Image from "@/components/ui/FallbackImage" ;
55import LinkifyText from "@/components/ui/LinkifyText" ;
6+ import ProfileWithBadge from "@/components/ui/ProfileWithBadge" ;
67import { COMMUNITY_MAX_UPLOAD_IMAGES } from "@/constants/community" ;
7- import { DEFAULT_PROFILE_IMAGE } from "@/constants/profile" ;
88import { showIconToast } from "@/lib/toast/showIconToast" ;
99import { IconCloseFilled , IconPostLikeFilled , IconPostLikeOutline } from "@/public/svgs" ;
1010import { IconCommunication } from "@/public/svgs/community" ;
@@ -115,19 +115,7 @@ const Content = ({ post, postId }: ContentProps) => {
115115
116116 < div className = "flex h-16 items-center justify-between border-y border-gray-c-100 px-5 py-3" >
117117 < div className = "flex gap-2.5" >
118- < div className = "h-10 w-10 rounded-full bg-bg-600" >
119- < Image
120- className = "h-full w-full rounded-full object-cover"
121- src = {
122- post . postFindSiteUserResponse . profileImageUrl
123- ? normalizeImageUrlToUploadCdn ( post . postFindSiteUserResponse . profileImageUrl )
124- : DEFAULT_PROFILE_IMAGE
125- }
126- width = { 40 }
127- height = { 40 }
128- alt = ""
129- />
130- </ div >
118+ < ProfileWithBadge profileImageUrl = { post . postFindSiteUserResponse . profileImageUrl } width = { 40 } height = { 40 } />
131119 < div className = "flex flex-col" >
132120 < div className = "overflow-hidden text-ellipsis font-serif text-black typo-medium-2" >
133121 { post . postFindSiteUserResponse . nickname || "" }
0 commit comments