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
176 changed files with 1961 additions and 2465 deletions
+2 -4
View File
@@ -33,10 +33,8 @@ export const StickerManager = React.memo(
i18n,
}: Props) => {
const focusRef = React.createRef<HTMLDivElement>();
const [
packToPreview,
setPackToPreview,
] = React.useState<StickerPackType | null>(null);
const [packToPreview, setPackToPreview] =
React.useState<StickerPackType | null>(null);
React.useEffect(() => {
if (!knownPacks) {
+6 -3
View File
@@ -237,7 +237,8 @@ export const StickerPicker = React.memo(
'module-sticker-picker__header__button',
'module-sticker-picker__header__button--add-pack',
{
'module-sticker-picker__header__button--hint': showPickerHint,
'module-sticker-picker__header__button--hint':
showPickerHint,
}
)}
onClick={onClickAddPack}
@@ -300,8 +301,10 @@ export const StickerPicker = React.memo(
className={classNames(
'module-sticker-picker__body__content',
{
'module-sticker-picker__body__content--under-text': showText,
'module-sticker-picker__body__content--under-long-text': showLongText,
'module-sticker-picker__body__content--under-text':
showText,
'module-sticker-picker__body__content--under-long-text':
showLongText,
}
)}
>