tidy(ui): rename GalleryBulkSelect -> GallerySelectionCountTag

This commit is contained in:
psychedelicious 2024-06-28 17:34:45 +10:00
parent 1ce459198c
commit d6e85e5f67
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ import { Box, Flex, Grid } from '@invoke-ai/ui-library';
import { EMPTY_ARRAY } from 'app/store/constants';
import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
import { IAINoContentFallback } from 'common/components/IAIImageFallback';
import { GalleryBulkSelect } from 'features/gallery/components/ImageGrid/GalleryBulkSelect';
import { GallerySelectionCountTag } from 'features/gallery/components/ImageGrid/GallerySelectionCountTag';
import { useGalleryHotkeys } from 'features/gallery/hooks/useGalleryHotkeys';
import { selectListImagesQueryArgs } from 'features/gallery/store/gallerySelectors';
import { limitChanged } from 'features/gallery/store/gallerySlice';
@ -145,7 +145,7 @@ const Content = () => {
))}
</Grid>
</Box>
<GalleryBulkSelect />
<GallerySelectionCountTag />
</Box>
);
};

View File

@ -6,7 +6,7 @@ import { useCallback } from 'react';
import { useHotkeys } from 'react-hotkeys-hook';
import { useTranslation } from 'react-i18next';
export const GalleryBulkSelect = () => {
export const GallerySelectionCountTag = () => {
const dispatch = useAppDispatch();
const { selection } = useAppSelector((s) => s.gallery);
const { t } = useTranslation();
@ -31,8 +31,8 @@ export const GalleryBulkSelect = () => {
position="absolute"
bg="invokeBlue.800"
color="base.50"
py={1}
px={3}
py={2}
px={4}
userSelect="none"
shadow="dark-lg"
fontWeight="semibold"