Skip to content

Commit cd5542d

Browse files
committed
style: fix MessageStatus lint issues
1 parent 333ede3 commit cd5542d

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/components/Message/MessageStatus.tsx

+17-17
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,18 @@ const UnMemoizedMessageStatus = <
8888
>
8989
{sending &&
9090
(MessageSendingStatus ? (
91-
<MessageSendingStatus />
91+
<MessageSendingStatus />
9292
) : (
93-
<>
94-
<PopperTooltip
93+
<>
94+
<PopperTooltip
9595
offset={[0, 5]}
9696
referenceElement={referenceElement}
9797
visible={tooltipVisible}
9898
>
9999
{t<string>('Sending...')}
100100
</PopperTooltip>
101101
<LoadingIndicator />
102-
</>
102+
</>
103103
))}
104104

105105
{delivered &&
@@ -109,13 +109,13 @@ const UnMemoizedMessageStatus = <
109109
) : (
110110
<>
111111
<PopperTooltip
112-
offset={[0, 5]}
113-
referenceElement={referenceElement}
114-
visible={tooltipVisible}
115-
>
116-
{t<string>('Delivered')}
117-
</PopperTooltip>
118-
<MessageDeliveredIcon />
112+
offset={[0, 5]}
113+
referenceElement={referenceElement}
114+
visible={tooltipVisible}
115+
>
116+
{t<string>('Delivered')}
117+
</PopperTooltip>
118+
<MessageDeliveredIcon />
119119
</>
120120
))}
121121

@@ -125,12 +125,12 @@ const UnMemoizedMessageStatus = <
125125
) : (
126126
<>
127127
<PopperTooltip
128-
offset={[0, 5]}
129-
referenceElement={referenceElement}
130-
visible={tooltipVisible}
131-
>
132-
{getReadByTooltipText(readBy, t, client, tooltipUserNameMapper)}
133-
</PopperTooltip>
128+
offset={[0, 5]}
129+
referenceElement={referenceElement}
130+
visible={tooltipVisible}
131+
>
132+
{getReadByTooltipText(readBy, t, client, tooltipUserNameMapper)}
133+
</PopperTooltip>
134134

135135
<Avatar
136136
className='str-chat__avatar--message-status'

0 commit comments

Comments
 (0)