Fix inverted sticker creator dropzone active text

This commit is contained in:
Evan Hahn 2021-10-04 18:05:03 -05:00 committed by GitHub
parent 2cf51502a8
commit 8a765da6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
// Copyright 2019-2020 Signal Messenger, LLC // Copyright 2019-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only // SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
@ -58,8 +58,8 @@ export const DropZone: React.ComponentType<Props> = props => {
{!inner ? ( {!inner ? (
<p className={styles.text}> <p className={styles.text}>
{isDragActive {isDragActive
? i18n('StickerCreator--DropZone--staticText') ? i18n('StickerCreator--DropZone--activeText')
: i18n('StickerCreator--DropZone--activeText')} : i18n('StickerCreator--DropZone--staticText')}
</p> </p>
) : null} ) : null}
</div> </div>