Skip to content

Commit ef634ee

Browse files
committed
remove ?
1 parent 588116e commit ef634ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
178178
return;
179179
}
180180
const responseItems = items.filter(i => isResponseVM(i));
181-
const currentlyFocusedIndex = responseItems?.indexOf(focusedElement);
181+
const currentlyFocusedIndex = responseItems.indexOf(focusedElement);
182182
if (currentlyFocusedIndex === undefined || !responseItems) {
183183
return;
184184
}

0 commit comments

Comments
 (0)