Skip to content

Commit

Permalink
tidy(ui): rename GalleryBulkSelect -> GallerySelectionCountTag
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Jun 28, 2024
1 parent 1ce4591 commit d6e85e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -145,7 +145,7 @@ const Content = () => {
))}
</Grid>
</Box>
<GalleryBulkSelect />
<GallerySelectionCountTag />
</Box>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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"
Expand Down

0 comments on commit d6e85e5

Please sign in to comment.