File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
invokeai/frontend/web/src/app/hooks Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { useAssertSingleton } from 'common/hooks/useAssertSingleton';
4
4
import { withResultAsync } from 'common/util/result' ;
5
5
import { canvasReset } from 'features/controlLayers/store/actions' ;
6
6
import { rasterLayerAdded } from 'features/controlLayers/store/canvasSlice' ;
7
- import { paramsReset } from 'features/controlLayers/store/paramsSlice' ;
8
7
import type { CanvasRasterLayerState } from 'features/controlLayers/store/types' ;
9
8
import { imageDTOToImageObject } from 'features/controlLayers/store/util' ;
10
9
import { sentImageToCanvas } from 'features/gallery/store/actions' ;
@@ -164,7 +163,6 @@ export const useStudioInitAction = (action?: StudioInitAction) => {
164
163
case 'generation' :
165
164
// Go to the generate tab, open the launchpad
166
165
await navigationApi . focusPanel ( 'generate' , LAUNCHPAD_PANEL_ID ) ;
167
- store . dispatch ( paramsReset ( ) ) ;
168
166
break ;
169
167
case 'canvas' :
170
168
// Go to the canvas tab, open the launchpad
You can’t perform that action at this time.
0 commit comments