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.
1 parent 74d843d commit abe7ce6Copy full SHA for abe7ce6
client/web/src/components/ChatBox/ChatMessageList/Item.tsx
@@ -136,7 +136,7 @@ export const NormalMessage: React.FC<ChatMessageItemProps> = React.memo(
136
{showAvatar && (
137
<div className="flex items-center">
138
<div className="font-bold">
139
- {userInfo.nickname ?? <span> </span>}
+ {userInfo.nickname || <span> </span>}
140
</div>
141
<div className="hidden group-hover:block opacity-40 ml-1 text-sm">
142
{formatShortTime(payload.createdAt)}
0 commit comments