From 1ca152f6c8525dbc3ee830cde1f3003c130f23ed Mon Sep 17 00:00:00 2001 From: Daniel Abrao Date: Sun, 14 Apr 2024 19:24:53 -0300 Subject: [PATCH] Apply eslint/prettier fixes --- .../deleteImageModal/components/DeleteImageButton.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 (