From 3f95d93329f9ea57070243feb290e538d2c663f3 Mon Sep 17 00:00:00 2001 From: martincupela Date: Fri, 21 Jun 2024 14:58:50 +0200 Subject: [PATCH] style: fix MessageStatus lint issues --- src/components/Message/MessageStatus.tsx | 34 ++++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/Message/MessageStatus.tsx b/src/components/Message/MessageStatus.tsx index afa096c70..72af6cfd4 100644 --- a/src/components/Message/MessageStatus.tsx +++ b/src/components/Message/MessageStatus.tsx @@ -88,10 +88,10 @@ const UnMemoizedMessageStatus = < > {sending && (MessageSendingStatus ? ( - + ) : ( - <> - + ('Sending...')} - + ))} {delivered && @@ -109,13 +109,13 @@ const UnMemoizedMessageStatus = < ) : ( <> - {t('Delivered')} - - + offset={[0, 5]} + referenceElement={referenceElement} + visible={tooltipVisible} + > + {t('Delivered')} + + ))} @@ -125,12 +125,12 @@ const UnMemoizedMessageStatus = < ) : ( <> - {getReadByTooltipText(readBy, t, client, tooltipUserNameMapper)} - + offset={[0, 5]} + referenceElement={referenceElement} + visible={tooltipVisible} + > + {getReadByTooltipText(readBy, t, client, tooltipUserNameMapper)} +