fix: Unserialization key issue

This commit is contained in:
blessedcoolant 2023-06-18 19:38:15 +12:00
parent 9634c96020
commit 7c9a939b47
3 changed files with 4 additions and 4 deletions

View File

@ -22,8 +22,8 @@ const initialStates: {
gallery: initialGalleryState,
generation: initialGenerationState,
lightbox: initialLightboxState,
sd1pipelinemodels: sd1InitialPipelineModelsState,
sd2pipelinemodels: sd2InitialPipelineModelsState,
sd1PipelineModels: sd1InitialPipelineModelsState,
sd2PipelineModels: sd2InitialPipelineModelsState,
nodes: initialNodesState,
postprocessing: initialPostprocessingState,
system: initialSystemState,

View File

@ -26,7 +26,7 @@ export const sd1InitialPipelineModelsState =
export type SD1PipelineModelState = typeof sd1InitialPipelineModelsState;
export const sd1PipelineModelsSlice = createSlice({
name: 'sd1models',
name: 'sd1PipelineModels',
initialState: sd1InitialPipelineModelsState,
reducers: {
modelAdded: sd1PipelineModelsAdapter.upsertOne,

View File

@ -26,7 +26,7 @@ export const sd2InitialPipelineModelsState =
export type SD2PipelineModelState = typeof sd2InitialPipelineModelsState;
export const sd2PipelineModelsSlice = createSlice({
name: 'sd2models',
name: 'sd2PipelineModels',
initialState: sd2InitialPipelineModelsState,
reducers: {
modelAdded: sd2PipelineModelsAdapater.upsertOne,