diff --git a/invokeai/frontend/web/src/features/parameters/hooks/useIsTooLargeToUpscale.ts b/invokeai/frontend/web/src/features/parameters/hooks/useIsTooLargeToUpscale.ts index 09e4deffe1..ab10949f55 100644 --- a/invokeai/frontend/web/src/features/parameters/hooks/useIsTooLargeToUpscale.ts +++ b/invokeai/frontend/web/src/features/parameters/hooks/useIsTooLargeToUpscale.ts @@ -5,7 +5,7 @@ import { selectConfigSlice } from 'features/system/store/configSlice'; import { useMemo } from 'react'; import type { ImageDTO } from 'services/api/types'; -export const createIsTooLargeToUpscaleSelector = (imageDTO?: ImageDTO) => +const createIsTooLargeToUpscaleSelector = (imageDTO?: ImageDTO) => createMemoizedSelector(selectUpscalelice, selectConfigSlice, (upscale, config) => { const { upscaleModel, scale } = upscale; const { maxUpscalePixels } = config;