@@ -10,7 +10,6 @@ export const initialUIState: UIState = {
1010 _version : 1 ,
1111 activeTab : 'txt2img' ,
1212 shouldShowImageDetails : false ,
13- shouldHidePreview : false ,
1413 shouldShowProgressInViewer : true ,
1514 panels : { } ,
1615 accordions : { } ,
@@ -27,9 +26,6 @@ export const uiSlice = createSlice({
2726 setShouldShowImageDetails : ( state , action : PayloadAction < boolean > ) => {
2827 state . shouldShowImageDetails = action . payload ;
2928 } ,
30- setShouldHidePreview : ( state , action : PayloadAction < boolean > ) => {
31- state . shouldHidePreview = action . payload ;
32- } ,
3329 setShouldShowProgressInViewer : ( state , action : PayloadAction < boolean > ) => {
3430 state . shouldShowProgressInViewer = action . payload ;
3531 } ,
@@ -43,7 +39,7 @@ export const uiSlice = createSlice({
4339 state ,
4440 action : PayloadAction < { id : string ; isOpen : boolean } >
4541 ) => {
46- const { id, isOpen } = action . payload ;
42+ const { id, isOpen } = action . payload ;
4743 state . accordions [ id ] = isOpen ;
4844 } ,
4945 expanderStateChanged : (
@@ -64,7 +60,6 @@ export const uiSlice = createSlice({
6460export const {
6561 setActiveTab,
6662 setShouldShowImageDetails,
67- setShouldHidePreview,
6863 setShouldShowProgressInViewer,
6964 panelsChanged,
7065 accordionStateChanged,
0 commit comments