File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ export default function BoardIdCard({ boardId }: { boardId: number }) {
29
29
id = { comment . id }
30
30
userName = { comment . nickname }
31
31
content = { comment . content }
32
- // TODO: 유저 프로필 사진 연결!
33
- userImage = "/Feed/desktop/tempProfilePic.svg"
32
+ userImage = { comment . userImageUrl }
34
33
/>
35
34
) ) ,
36
35
) }
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ export default function ModalBoardCard({ boardId }: { boardId: number }) {
29
29
id = { comment . id }
30
30
userName = { comment . nickname }
31
31
content = { comment . content }
32
- // TODO: 유저 프로필 사진 연결!
33
- userImage = "/Feed/desktop/tempProfilePic.svg"
32
+ userImage = { comment . userImageUrl }
34
33
/>
35
34
) ) ,
36
35
) }
Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ export interface Comment {
61
61
id : number ;
62
62
content : string ;
63
63
nickname : string ;
64
+ replyWriter : boolean ;
65
+ userImageUrl : string ;
64
66
// children: string[];
65
67
}
66
68
You can’t perform that action at this time.
0 commit comments