mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tidy(ui): remove unused state from uiSlice
This commit is contained in:
parent
b76d2cd716
commit
504bdac14a
@ -10,7 +10,6 @@ export const initialUIState: UIState = {
|
||||
_version: 1,
|
||||
activeTab: 'txt2img',
|
||||
shouldShowImageDetails: false,
|
||||
shouldShowExistingModelsInSearch: false,
|
||||
shouldHidePreview: false,
|
||||
shouldShowProgressInViewer: true,
|
||||
panels: {},
|
||||
@ -29,12 +28,6 @@ export const uiSlice = createSlice({
|
||||
setShouldHidePreview: (state, action: PayloadAction<boolean>) => {
|
||||
state.shouldHidePreview = action.payload;
|
||||
},
|
||||
setShouldShowExistingModelsInSearch: (
|
||||
state,
|
||||
action: PayloadAction<boolean>
|
||||
) => {
|
||||
state.shouldShowExistingModelsInSearch = action.payload;
|
||||
},
|
||||
setShouldShowProgressInViewer: (state, action: PayloadAction<boolean>) => {
|
||||
state.shouldShowProgressInViewer = action.payload;
|
||||
},
|
||||
@ -55,7 +48,6 @@ export const uiSlice = createSlice({
|
||||
export const {
|
||||
setActiveTab,
|
||||
setShouldShowImageDetails,
|
||||
setShouldShowExistingModelsInSearch,
|
||||
setShouldHidePreview,
|
||||
setShouldShowProgressInViewer,
|
||||
panelsChanged,
|
||||
|
@ -4,7 +4,6 @@ export interface UIState {
|
||||
_version: 1;
|
||||
activeTab: InvokeTabName;
|
||||
shouldShowImageDetails: boolean;
|
||||
shouldShowExistingModelsInSearch: boolean;
|
||||
shouldHidePreview: boolean;
|
||||
shouldShowProgressInViewer: boolean;
|
||||
panels: Record<string, string>;
|
||||
|
Loading…
Reference in New Issue
Block a user