Skip to content

Commit

Permalink
Merge pull request #112 from venus-lion/fe/fix/scroll-bug
Browse files Browse the repository at this point in the history
ChatPageGroup.jsx message 널처리 코드 제거 (에러 발생)
  • Loading branch information
minjikimkim2222 authored Feb 6, 2025
2 parents faa3c77 + c6942d4 commit a485416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fe/src/pages/ChatPageGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function ChatPageGroup({roomId, roomInfo, refreshChatList, refreshChatComponent}
isJoinMessage ? 'join-message-group' : '' // join 메시지에 대한 CSS 클래스 추가
}`}
>
{!isCurrentUser && sender && !isJoinMessage && message ( // message null 체크 추가
{!isCurrentUser && sender && !isJoinMessage && ( // message null 체크 추가
<div className="message-profile-group">
{/* profileImgUrl이 있으면 이미지를 표시하고, 없으면 FaUserCircle 아이콘을 표시합니다. */}
{sender && sender.profileImgUrl ? (
Expand Down

0 comments on commit a485416

Please sign in to comment.