mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat: Port Schedulers to Mantine
This commit is contained in:
parent
0c3616229e
commit
6bdf68dd4c
@ -1,6 +1,5 @@
|
|||||||
import type { PayloadAction } from '@reduxjs/toolkit';
|
import type { PayloadAction } from '@reduxjs/toolkit';
|
||||||
import { createSlice } from '@reduxjs/toolkit';
|
import { createSlice } from '@reduxjs/toolkit';
|
||||||
import { Scheduler } from 'app/constants';
|
|
||||||
import { ModelLoaderTypes } from 'features/system/components/ModelSelect';
|
import { ModelLoaderTypes } from 'features/system/components/ModelSelect';
|
||||||
import { configChanged } from 'features/system/store/configSlice';
|
import { configChanged } from 'features/system/store/configSlice';
|
||||||
import { clamp, sortBy } from 'lodash-es';
|
import { clamp, sortBy } from 'lodash-es';
|
||||||
|
@ -16,6 +16,7 @@ const data = map(SCHEDULER_NAMES, (s) => ({
|
|||||||
|
|
||||||
export default function SettingsSchedulers() {
|
export default function SettingsSchedulers() {
|
||||||
const dispatch = useAppDispatch();
|
const dispatch = useAppDispatch();
|
||||||
|
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const enabledSchedulers = useAppSelector(
|
const enabledSchedulers = useAppSelector(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user