fix: removed redundant empty string check on quote author

pull/2757/head
William Grant 2 years ago
parent 4d874d2738
commit 9b1be604b1

@ -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;
}

Loading…
Cancel
Save