mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): tsc
This commit is contained in:
parent
3c4150d153
commit
4716632c23
@ -22,6 +22,7 @@ import {
|
||||
selectOptimalDimension,
|
||||
widthChanged,
|
||||
} from 'features/parameters/store/generationSlice';
|
||||
import { activeTabNameSelector } from 'features/ui/store/uiSelectors';
|
||||
import { memo, useCallback, useEffect, useMemo, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { FaRulerVertical, FaSave, FaUndo } from 'react-icons/fa';
|
||||
@ -51,7 +52,7 @@ const ControlAdapterImagePreview = ({ isSmall, id }: Props) => {
|
||||
const processorType = useControlAdapterProcessorType(id);
|
||||
const autoAddBoardId = useAppSelector((s) => s.gallery.autoAddBoardId);
|
||||
const isConnected = useAppSelector((s) => s.system.isConnected);
|
||||
const activeTabName = useAppSelector(selectActiveTabname);
|
||||
const activeTabName = useAppSelector(activeTabNameSelector);
|
||||
const optimalDimension = useAppSelector(selectOptimalDimension);
|
||||
const pendingControlImages = useAppSelector(selectPendingControlImages);
|
||||
|
||||
|
@ -37,7 +37,7 @@ const ParamControlAdapterModel = ({ id }: ParamControlAdapterModelProps) => {
|
||||
const currentBaseModel = useAppSelector(
|
||||
(s) => s.generation.model?.base_model
|
||||
);
|
||||
const { mainModel } = useAppSelector(selectMainModel);
|
||||
const mainModel = useAppSelector(selectMainModel);
|
||||
const { t } = useTranslation();
|
||||
|
||||
const models = useControlAdapterModelEntities(controlAdapterType);
|
||||
|
Loading…
Reference in New Issue
Block a user