diff --git a/invokeai/frontend/web/src/features/deleteImageModal/components/DeleteImageButton.tsx b/invokeai/frontend/web/src/features/deleteImageModal/components/DeleteImageButton.tsx index 3e86c04085..712be41c2e 100644 --- a/invokeai/frontend/web/src/features/deleteImageModal/components/DeleteImageButton.tsx +++ b/invokeai/frontend/web/src/features/deleteImageModal/components/DeleteImageButton.tsx @@ -14,9 +14,10 @@ export const DeleteImageButton = memo((props: DeleteImageButtonProps) => { const { t } = useTranslation(); const isConnected = useAppSelector((s) => s.system.isConnected); const imageSelectionLength: number = (useAppSelector((s) => s.gallery.selection) || []).length; - const labelMessage: string = imageSelectionLength > 1 ? - t('gallery.deleteImage_plural', { 'count': imageSelectionLength }) : - t('gallery.deleteImage'); + const labelMessage: string = + imageSelectionLength > 1 + ? t('gallery.deleteImage_plural', { count: imageSelectionLength }) + : t('gallery.deleteImage'); return (