diff --git a/invokeai/frontend/web/src/features/modelManager/subpanels/AddModelsPanel/AddModels.tsx b/invokeai/frontend/web/src/features/modelManager/subpanels/AddModelsPanel/AddModels.tsx
index 82ccb7f309..cc496674f0 100644
--- a/invokeai/frontend/web/src/features/modelManager/subpanels/AddModelsPanel/AddModels.tsx
+++ b/invokeai/frontend/web/src/features/modelManager/subpanels/AddModelsPanel/AddModels.tsx
@@ -11,7 +11,7 @@ const AddModels = () => {
const [addModelMode, setAddModelMode] = useState<'simple' | 'advanced'>('simple');
const handleAddModelSimple = useCallback(() => setAddModelMode('simple'), []);
const handleAddModelAdvanced = useCallback(() => setAddModelMode('advanced'), []);
- const { data } = useGetModelImportsQuery({});
+ const { data } = useGetModelImportsQuery();
console.log({ data });
return (
@@ -27,7 +27,7 @@ const AddModels = () => {
{addModelMode === 'simple' && }
{addModelMode === 'advanced' && }
- {data?.map((model) => {model.status})}
+ {data?.map((model) => {model.status})}
);
};
diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/AddModelPanel/ScanModels/ScanModelsForm.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/AddModelPanel/ScanModels/ScanModelsForm.tsx
index 722041d3d2..0b25ec560f 100644
--- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/AddModelPanel/ScanModels/ScanModelsForm.tsx
+++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/AddModelPanel/ScanModels/ScanModelsForm.tsx
@@ -25,7 +25,7 @@ export const ScanModelsForm = () => {
setErrorMessage(error.data.detail);
}
});
- }, [scanPath]);
+ }, [_scanModels, scanPath]);
const handleSetScanPath: ChangeEventHandler = useCallback((e) => {
setScanPath(e.target.value);
diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManager.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManager.tsx
index 900a6a9342..9eff333f4c 100644
--- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManager.tsx
+++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManager.tsx
@@ -1,11 +1,11 @@
import { Box, Button, Flex, Heading } from '@invoke-ai/ui-library';
+import { useAppDispatch } from 'app/store/storeHooks';
import { SyncModelsIconButton } from 'features/modelManager/components/SyncModels/SyncModelsIconButton';
+import { setSelectedModelKey } from 'features/modelManagerV2/store/modelManagerV2Slice';
+import { useCallback } from 'react';
import ModelList from './ModelManagerPanel/ModelList';
import { ModelListNavigation } from './ModelManagerPanel/ModelListNavigation';
-import { useCallback } from 'react';
-import { useAppDispatch } from '../../../app/store/storeHooks';
-import { setSelectedModelKey } from '../store/modelManagerV2Slice';
export const ModelManager = () => {
const dispatch = useAppDispatch();
diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelListItem.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelListItem.tsx
index d6cb70f4e8..93468cd418 100644
--- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelListItem.tsx
+++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelListItem.tsx
@@ -1,5 +1,6 @@
import {
Badge,
+ Box,
Button,
ConfirmationAlertDialog,
Flex,
@@ -8,7 +9,6 @@ import {
Text,
Tooltip,
useDisclosure,
- Box,
} from '@invoke-ai/ui-library';
import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
import { setSelectedModelKey } from 'features/modelManagerV2/store/modelManagerV2Slice';
diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelTypeFilter.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelTypeFilter.tsx
index 0134ffc811..c9592d6102 100644
--- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelTypeFilter.tsx
+++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelTypeFilter.tsx
@@ -40,9 +40,8 @@ export const ModelTypeFilter = () => {
{Object.keys(MODEL_TYPE_LABELS).map((option) => (