Skip to content

Commit

Permalink
fix type on client
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Dec 18, 2024
1 parent c70cbc9 commit 5da93f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/client/components/message/MessageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const MessageHeader = ({ message }: MessageHeaderProps): ReactElement => {
</>
)}
</MessageNameContainer>
{shouldShowRolesList && <MessageRoles roles={roles} isBot={message.bot} />}
{shouldShowRolesList && <MessageRoles roles={roles} isBot={!!message.bot} />}
<MessageTimestamp id={`${message._id}-time`} title={formatDateAndTime(message.ts)}>
{formatTime(message.ts)}
</MessageTimestamp>
Expand Down

0 comments on commit 5da93f9

Please sign in to comment.