Skip to content

Commit e79525c

Browse files
docs(ui): update comments
1 parent f409f91 commit e79525c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

invokeai/frontend/web/src/app/hooks/useStudioInitAction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,13 @@ export const useStudioInitAction = (action?: StudioInitAction) => {
162162
async (destination: StudioDestinationAction['data']['destination']) => {
163163
switch (destination) {
164164
case 'generation':
165-
// Go to the canvas tab, open the image viewer, and enable send-to-gallery mode
165+
// Go to the generate tab, open the launchpad
166166
await navigationApi.focusPanel('generate', LAUNCHPAD_PANEL_ID);
167167
store.dispatch(paramsReset());
168168
store.dispatch(activeTabCanvasRightPanelChanged('gallery'));
169169
break;
170170
case 'canvas':
171-
// Go to the canvas tab, close the image viewer, and disable send-to-gallery mode
171+
// Go to the canvas tab, open the launchpad
172172
await navigationApi.focusPanel('canvas', WORKSPACE_PANEL_ID);
173173
store.dispatch(canvasReset());
174174
break;

0 commit comments

Comments
 (0)