Skip to content

Commit 8acdc95

Browse files
fix(ui): move getItemsPerRow to frontend src dir
Not sure how but it was in repo root Closes #8509
1 parent 3c9c49f commit 8acdc95

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

invokeai/frontend/web/src/features/gallery/components/NewGallery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import { VirtuosoGrid } from 'react-virtuoso';
2727
import { imagesApi, useImageDTO, useStarImagesMutation, useUnstarImagesMutation } from 'services/api/endpoints/images';
2828
import { useDebounce } from 'use-debounce';
2929

30-
import { getItemsPerRow } from '../../../../../../../getItemsPerRow';
3130
import { getItemIndex } from './getItemIndex';
31+
import { getItemsPerRow } from './getItemsPerRow';
3232
import { GalleryImage, GalleryImagePlaceholder } from './ImageGrid/GalleryImage';
3333
import { GallerySelectionCountTag } from './ImageGrid/GallerySelectionCountTag';
3434
import { scrollIntoView } from './scrollIntoView';

invokeai/frontend/web/src/features/gallery/components/VideoGallery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import { VirtuosoGrid } from 'react-virtuoso';
2424
import { videosApi } from 'services/api/endpoints/videos';
2525
import { useDebounce } from 'use-debounce';
2626

27-
import { getItemsPerRow } from '../../../../../../../getItemsPerRow';
2827
import { getItemIndex } from './getItemIndex';
28+
import { getItemsPerRow } from './getItemsPerRow';
2929
import { GallerySelectionCountTag } from './ImageGrid/GallerySelectionCountTag';
3030
import { GalleryVideo } from './ImageGrid/GalleryVideo';
3131
import { GalleryVideoPlaceholder } from './ImageGrid/GalleryVideoPlaceholder';
File renamed without changes.

0 commit comments

Comments
 (0)