removing redundant statements

This commit is contained in:
samay-kothari 2022-04-16 13:40:37 +05:30
parent ce0ef4097a
commit daff5c615a
1 changed files with 0 additions and 1 deletions

View File

@ -157,7 +157,6 @@ class SearchMessagesView extends React.Component<ISearchMessagesViewProps, ISear
const result = await RocketChat.searchMessages(this.rid, searchText, QUERY_SIZE, this.offset);
if (result.success) {
const urlRenderMessages = result.messages?.map(message => {
// @ts-ignore
if (message.urls && message.urls.length > 0) {
message.urls = message.urls?.map((url, index) => {
if (url.meta) {