From c17b67106cabd98d85ff8f6363e56cc61239f862 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Mon, 16 Dec 2024 03:39:16 +0200 Subject: [PATCH] fixes --- src/components/Chat/ChatOptions.tsx | 74 +---------------------------- src/components/Group/AddGroup.tsx | 1 - src/components/Group/Group.tsx | 2 +- 3 files changed, 2 insertions(+), 75 deletions(-) diff --git a/src/components/Chat/ChatOptions.tsx b/src/components/Chat/ChatOptions.tsx index 87f3329..42f009c 100644 --- a/src/components/Chat/ChatOptions.tsx +++ b/src/components/Chat/ChatOptions.tsx @@ -325,79 +325,7 @@ export const ChatOptions = ({ messages : untransformedMessages, goToMessage, mem }} > - {/* - - - - {message?.senderName?.charAt(0)} - - - {message?.senderName} - - - - - {formatTimestamp(message.timestamp)} - { - const findMsgIndex = messages.findIndex( - (item) => - item?.signature === message?.signature - ); - if (findMsgIndex !== -1) { - goToMessage(findMsgIndex); - } - }} - > -

" - } - /> -
-
*/} + ); })} diff --git a/src/components/Group/AddGroup.tsx b/src/components/Group/AddGroup.tsx index af23fd9..1cf86fe 100644 --- a/src/components/Group/AddGroup.tsx +++ b/src/components/Group/AddGroup.tsx @@ -218,7 +218,6 @@ export const AddGroup = ({ address, open, setOpen }) => { overflowY: "auto", color: "white", flexDirection: 'column', - flexGrow: 1, display: 'flex' }} > diff --git a/src/components/Group/Group.tsx b/src/components/Group/Group.tsx index 7d77cc2..c699f48 100644 --- a/src/components/Group/Group.tsx +++ b/src/components/Group/Group.tsx @@ -2252,7 +2252,7 @@ export const Group = ({ getTimestampEnterChatParent={getTimestampEnterChat} /> )} - {isPrivate &&firstSecretKeyInCreation && + {isPrivate && firstSecretKeyInCreation && triedToFetchSecretKey && !secretKeyPublishDate && (