mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Upgrade Prettier to 2.4.1
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user