fix: remove unnecessary else in onQuoteClick

pull/2757/head
William Grant 2 years ago
parent db5f2d8534
commit 3fce414e7c

@ -64,13 +64,13 @@ export const MessageQuote = (props: Props) => {
if (quoteNotFound) {
ToastUtils.pushOriginalNotFound();
return;
} else {
void openConversationToSpecificMessage({
conversationKey: String(quote.convoId),
messageIdToNavigateTo: String(quote.id),
shouldHighlightMessage: true,
});
}
void openConversationToSpecificMessage({
conversationKey: String(quote.convoId),
messageIdToNavigateTo: String(quote.id),
shouldHighlightMessage: true,
});
},
[isMessageDetailViewMode, multiSelectMode, quote, quoteNotFound]
);

Loading…
Cancel
Save