Fix sticker creator upload warning

This commit is contained in:
Evan Hahn 2021-01-22 11:32:53 -06:00 committed by Scott Nonnenberg
parent f404904a49
commit 62ce308fe1

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';
@ -59,8 +59,9 @@ export const UploadStage: React.ComponentType = () => {
<H2>{i18n('StickerCreator--UploadStage--title')}</H2> <H2>{i18n('StickerCreator--UploadStage--title')}</H2>
<Text> <Text>
{i18n('StickerCreator--UploadStage-uploaded', { {i18n('StickerCreator--UploadStage-uploaded', {
count: complete, // We convert these to string so that 0 isn't falsy, which i18n checks for.
total, count: String(complete),
total: String(total),
})} })}
</Text> </Text>
<ProgressBar <ProgressBar