Apply eslint/prettier fixes

This commit is contained in:
Daniel Abrao 2024-04-14 19:24:53 -03:00 committed by psychedelicious
parent 982e255878
commit 1ca152f6c8

View File

@ -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