diff --git a/invokeai/frontend/web/src/features/gallery/store/gallerySlice.ts b/invokeai/frontend/web/src/features/gallery/store/gallerySlice.ts index 24796cb329..d5d83e53e8 100644 --- a/invokeai/frontend/web/src/features/gallery/store/gallerySlice.ts +++ b/invokeai/frontend/web/src/features/gallery/store/gallerySlice.ts @@ -5,7 +5,6 @@ import { uniqBy } from 'lodash-es'; import type { ImageDTO } from 'services/api/types'; import type { BoardId, ComparisonMode, GalleryState, GalleryView, OrderDir } from './types'; -import { IMAGE_LIMIT } from './types'; const initialGalleryState: GalleryState = { selection: [], @@ -84,7 +83,6 @@ export const gallerySlice = createSlice({ galleryViewChanged: (state, action: PayloadAction) => { state.galleryView = action.payload; state.offset = 0; - state.limit = IMAGE_LIMIT; }, boardSearchTextChanged: (state, action: PayloadAction) => { state.boardSearchText = action.payload;