From 28eceae3aaa7517a34eda89fb8c9dac0dd269e82 Mon Sep 17 00:00:00 2001 From: Piotr Suwala Date: Fri, 22 Nov 2024 11:12:34 +0100 Subject: [PATCH] feat(lib): rm --- .../components/message-text/MessageText.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/react-native-group-chat/components/message-text/MessageText.tsx b/samples/react-native-group-chat/components/message-text/MessageText.tsx index 1fb2cc8..30d7142 100644 --- a/samples/react-native-group-chat/components/message-text/MessageText.tsx +++ b/samples/react-native-group-chat/components/message-text/MessageText.tsx @@ -10,11 +10,10 @@ import { useNavigation } from "@react-navigation/native" type MessageTextProps = { onGoToMessage: (message: Message) => void - isBeingEdited?: boolean messageProps: Bubble["props"] } -export function MessageText({ onGoToMessage, messageProps, isBeingEdited }: MessageTextProps) { +export function MessageText({ onGoToMessage, messageProps }: MessageTextProps) { const { chat, setCurrentChannel } = useContext(ChatContext) const navigation = useNavigation() const [imageSrc, setImageSrc] = useState("") @@ -147,7 +146,7 @@ export function MessageText({ onGoToMessage, messageProps, isBeingEdited }: Mess if (messageElements) { return ( - + {messageProps.currentMessage?.originalPnMessage.quotedMessage ? (