diff --git a/invokeai/frontend/web/src/features/system/components/ModelSelect.tsx b/invokeai/frontend/web/src/features/system/components/ModelSelect.tsx index 48be6d263a..cedc0d48f3 100644 --- a/invokeai/frontend/web/src/features/system/components/ModelSelect.tsx +++ b/invokeai/frontend/web/src/features/system/components/ModelSelect.tsx @@ -1,17 +1,15 @@ import { createSelector } from '@reduxjs/toolkit'; -import { ChangeEvent, memo, useCallback } from 'react'; import { isEqual } from 'lodash-es'; +import { ChangeEvent, memo, useCallback } from 'react'; import { useTranslation } from 'react-i18next'; -import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; -import { selectModelsAll, selectModelsById } from '../store/modelSlice'; +import { Select } from '@mantine/core'; import { RootState } from 'app/store/store'; -import { modelSelected } from 'features/parameters/store/generationSlice'; +import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; +import { IAICustomSelectOption } from 'common/components/IAICustomSelect'; import { generationSelector } from 'features/parameters/store/generationSelectors'; -import IAICustomSelect, { - IAICustomSelectOption, -} from 'common/components/IAICustomSelect'; -import IAISelect from 'common/components/IAISelect'; +import { modelSelected } from 'features/parameters/store/generationSlice'; +import { selectModelsAll, selectModelsById } from '../store/modelSlice'; const selector = createSelector( [(state: RootState) => state, generationSelector], @@ -64,13 +62,13 @@ const ModelSelect = () => { // ); return ( - );