mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
lint
This commit is contained in:
parent
4b85dfcefe
commit
90ec757802
@ -5,7 +5,7 @@ import { selectConfigSlice } from 'features/system/store/configSlice';
|
|||||||
import { useMemo } from 'react';
|
import { useMemo } from 'react';
|
||||||
import type { ImageDTO } from 'services/api/types';
|
import type { ImageDTO } from 'services/api/types';
|
||||||
|
|
||||||
export const createIsTooLargeToUpscaleSelector = (imageDTO?: ImageDTO) =>
|
const createIsTooLargeToUpscaleSelector = (imageDTO?: ImageDTO) =>
|
||||||
createMemoizedSelector(selectUpscalelice, selectConfigSlice, (upscale, config) => {
|
createMemoizedSelector(selectUpscalelice, selectConfigSlice, (upscale, config) => {
|
||||||
const { upscaleModel, scale } = upscale;
|
const { upscaleModel, scale } = upscale;
|
||||||
const { maxUpscalePixels } = config;
|
const { maxUpscalePixels } = config;
|
||||||
|
Loading…
Reference in New Issue
Block a user