From 9b1be604b16486baf5c1e65894f90b848353883f Mon Sep 17 00:00:00 2001 From: William Grant Date: Thu, 18 May 2023 17:22:49 +1000 Subject: [PATCH] fix: removed redundant empty string check on quote author --- .../conversation/message/message-content/quote/QuoteAuthor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/conversation/message/message-content/quote/QuoteAuthor.tsx b/ts/components/conversation/message/message-content/quote/QuoteAuthor.tsx index cc325b0ce..a7fc4690a 100644 --- a/ts/components/conversation/message/message-content/quote/QuoteAuthor.tsx +++ b/ts/components/conversation/message/message-content/quote/QuoteAuthor.tsx @@ -32,7 +32,7 @@ export const QuoteAuthor = (props: QuoteAuthorProps) => { const isPublic = useSelector(isPublicGroupConversation); const authorName = useQuoteAuthorName(author); - if (!author || author === '' || !authorName) { + if (!author || !authorName) { return null; }