mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 21:28:40 +00:00
Optimize render part 2
This commit is contained in:
@@ -87,11 +87,10 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
||||
linkPreviewResult,
|
||||
// Quote
|
||||
quotedMessageProps: quotedMessage
|
||||
? getPropsForQuote(
|
||||
quotedMessage,
|
||||
? getPropsForQuote(quotedMessage, {
|
||||
conversationSelector,
|
||||
getUserConversationId(state)
|
||||
)
|
||||
ourConversationId: getUserConversationId(state),
|
||||
})
|
||||
: undefined,
|
||||
onClickQuotedMessage: () =>
|
||||
onClickQuotedMessage(quotedMessage?.quote?.messageId),
|
||||
|
||||
Reference in New Issue
Block a user