Upgrade Prettier to 2.4.1

This commit is contained in:
Evan Hahn 2021-11-11 16:43:05 -06:00 committed by GitHub
parent f204784afe
commit 5619eeca83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
176 changed files with 1961 additions and 2465 deletions

View file

@ -2348,7 +2348,8 @@ export function reducer(
return {
...state,
outboundMessagesPendingConversationVerification: newOutboundMessagesPendingConversationVerification,
outboundMessagesPendingConversationVerification:
newOutboundMessagesPendingConversationVerification,
};
}
if (action.type === 'MESSAGE_CHANGED') {
@ -2770,12 +2771,8 @@ export function reducer(
return state;
}
let {
newest,
oldest,
oldestUnread,
totalUnread,
} = existingConversation.metrics;
let { newest, oldest, oldestUnread, totalUnread } =
existingConversation.metrics;
if (messages.length < 1) {
return state;
@ -3341,11 +3338,8 @@ export function reducer(
if (action.type === COLOR_SELECTED) {
const { conversationLookup } = state;
const {
conversationId,
conversationColor,
customColorData,
} = action.payload;
const { conversationId, conversationColor, customColorData } =
action.payload;
const existing = conversationLookup[conversationId];
if (!existing) {