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

@ -254,10 +254,8 @@ export function reducer(
return state;
}
const {
draftPreferredReactions,
selectedDraftEmojiIndex,
} = customizePreferredReactionsModal;
const { draftPreferredReactions, selectedDraftEmojiIndex } =
customizePreferredReactionsModal;
if (selectedDraftEmojiIndex === undefined) {
return state;
}
@ -284,9 +282,10 @@ export function reducer(
...state,
customizePreferredReactionsModal: {
...state.customizePreferredReactionsModal,
draftPreferredReactions: DEFAULT_PREFERRED_REACTION_EMOJI_SHORT_NAMES.map(
shortName => convertShortName(shortName, skinTone)
),
draftPreferredReactions:
DEFAULT_PREFERRED_REACTION_EMOJI_SHORT_NAMES.map(shortName =>
convertShortName(shortName, skinTone)
),
selectedDraftEmojiIndex: undefined,
},
};