Skip to content

Commit 6bdb3b6

Browse files
committed
🤖 fix: avoid unhandled rejection opening terminal popout
1 parent b8bce66 commit 6bdb3b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/components/WorkspaceShell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const WorkspaceShell: React.FC<WorkspaceShellProps> = (props) => {
6262
const addTerminalRef = useRef<(() => void) | null>(null);
6363
const handleOpenTerminal = useCallback(() => {
6464
if (isSmallScreen) {
65-
void openTerminalPopout(props.workspaceId, props.runtimeConfig);
65+
void openTerminalPopout(props.workspaceId, props.runtimeConfig).catch(() => undefined);
6666
return;
6767
}
6868

0 commit comments

Comments
 (0)