fix: moved referencedMessageNotFound to first in quoteNotFound because it is the most likely to happen

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

@ -38,7 +38,7 @@ export const MessageQuote = (props: Props) => {
} }
const quoteNotFound = Boolean( const quoteNotFound = Boolean(
!quote?.author || !quote.id || !quote.convoId || quote.referencedMessageNotFound quote.referencedMessageNotFound || !quote?.author || !quote.id || !quote.convoId
); );
const quoteText = quote?.text || null; const quoteText = quote?.text || null;

Loading…
Cancel
Save