diff --git a/src/components/help/views/SelectReportedChatsView.tsx b/src/components/help/views/SelectReportedChatsView.tsx
index d83e6a02..0dfba492 100644
--- a/src/components/help/views/SelectReportedChatsView.tsx
+++ b/src/components/help/views/SelectReportedChatsView.tsx
@@ -21,6 +21,7 @@ export const SelectReportedChatsView: FC<{}> = props =>
return messengerHistory.filter(chat => (chat.entityId === activeReport.reportedUserId) && (chat.type === ChatEntryType.TYPE_IM));
}
+ return [];
}, [ activeReport, chatHistory, messengerHistory ]);
const selectChat = (chatEntry: IChatEntry) =>
@@ -62,7 +63,7 @@ export const SelectReportedChatsView: FC<{}> = props =>
{ LocalizeText('help.emergency.chat_report.description') }
- { !!!userChats.length &&
+ { !userChats || !userChats.length &&
{ LocalizeText('help.cfh.error.no_user_data') } }
{ (userChats.length > 0) &&