Skip to content

Commit

Permalink
style: fix MessageStatus lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinCupela authored and arnautov-anton committed Jun 28, 2024
1 parent f39f60c commit 3f95d93
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/components/Message/MessageStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,18 @@ const UnMemoizedMessageStatus = <
>
{sending &&
(MessageSendingStatus ? (
<MessageSendingStatus />
<MessageSendingStatus />
) : (
<>
<PopperTooltip
<>
<PopperTooltip
offset={[0, 5]}
referenceElement={referenceElement}
visible={tooltipVisible}
>
{t<string>('Sending...')}
</PopperTooltip>
<LoadingIndicator />
</>
</>
))}

{delivered &&
Expand All @@ -109,13 +109,13 @@ const UnMemoizedMessageStatus = <
) : (
<>
<PopperTooltip
offset={[0, 5]}
referenceElement={referenceElement}
visible={tooltipVisible}
>
{t<string>('Delivered')}
</PopperTooltip>
<MessageDeliveredIcon />
offset={[0, 5]}
referenceElement={referenceElement}
visible={tooltipVisible}
>
{t<string>('Delivered')}
</PopperTooltip>
<MessageDeliveredIcon />
</>
))}

Expand All @@ -125,12 +125,12 @@ const UnMemoizedMessageStatus = <
) : (
<>
<PopperTooltip
offset={[0, 5]}
referenceElement={referenceElement}
visible={tooltipVisible}
>
{getReadByTooltipText(readBy, t, client, tooltipUserNameMapper)}
</PopperTooltip>
offset={[0, 5]}
referenceElement={referenceElement}
visible={tooltipVisible}
>
{getReadByTooltipText(readBy, t, client, tooltipUserNameMapper)}
</PopperTooltip>

<Avatar
className='str-chat__avatar--message-status'
Expand Down

0 comments on commit 3f95d93

Please sign in to comment.