mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Apply eslint/prettier fixes
This commit is contained in:
parent
982e255878
commit
1ca152f6c8
@ -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 (
|
||||
<IconButton
|
||||
|
Loading…
Reference in New Issue
Block a user