Upgrade Prettier to 2.4.1
This commit is contained in:
parent
f204784afe
commit
5619eeca83
176 changed files with 1961 additions and 2465 deletions
|
@ -177,9 +177,8 @@ const getWarning = (
|
|||
switch (conversation.type) {
|
||||
case 'direct':
|
||||
if (!conversation.acceptedMessageRequest && !conversation.isBlocked) {
|
||||
const getConversationsWithTitle = getConversationsByTitleSelector(
|
||||
state
|
||||
);
|
||||
const getConversationsWithTitle =
|
||||
getConversationsByTitleSelector(state);
|
||||
const conversationsWithSameTitle = getConversationsWithTitle(
|
||||
conversation.title
|
||||
);
|
||||
|
@ -221,9 +220,8 @@ const getWarning = (
|
|||
type: ContactSpoofingType.MultipleGroupMembersWithSameTitle,
|
||||
acknowledgedGroupNameCollisions:
|
||||
conversation.acknowledgedGroupNameCollisions || {},
|
||||
groupNameCollisions: dehydrateCollisionsWithConversations(
|
||||
groupNameCollisions
|
||||
),
|
||||
groupNameCollisions:
|
||||
dehydrateCollisionsWithConversations(groupNameCollisions),
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -308,9 +306,8 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
!conversation.acceptedMessageRequest
|
||||
),
|
||||
...conversationMessages,
|
||||
invitedContactsForNewlyCreatedGroup: getInvitedContactsForNewlyCreatedGroup(
|
||||
state
|
||||
),
|
||||
invitedContactsForNewlyCreatedGroup:
|
||||
getInvitedContactsForNewlyCreatedGroup(state),
|
||||
selectedMessageId: selectedMessage ? selectedMessage.id : undefined,
|
||||
|
||||
warning: getWarning(conversation, state),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue