diff --git a/ts/components/conversation/SessionConversation.tsx b/ts/components/conversation/SessionConversation.tsx index 5d2e30997..e23131518 100644 --- a/ts/components/conversation/SessionConversation.tsx +++ b/ts/components/conversation/SessionConversation.tsx @@ -262,17 +262,16 @@ export class SessionConversation extends React.Component {
- {selectedConversation?.hasOutdatedClient && - selectedConversation.hasOutdatedClient.length > 0 && ( - { - const conversation = getConversationController().get(selectedConversation.id); - conversation.set({ hasOutdatedClient: undefined }); - void conversation.commit(); - }} - /> - )} + {selectedConversation?.hasOutdatedClient?.length ? ( + { + const conversation = getConversationController().get(selectedConversation.id); + conversation.set({ hasOutdatedClient: undefined }); + void conversation.commit(); + }} + /> + ) : null}
{isSelectedConvoInitialLoadingInProgress ? (