Skip to content

Commit 45908d8

Browse files
committed
rm check
1 parent 499266d commit 45908d8

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
@@ -175,7 +175,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
175175
}
176176
const responseItems = items.filter(i => isResponseVM(i));
177177
const targetIndex = responseItems.indexOf(item);
178-
if (targetIndex === undefined || !responseItems) {
178+
if (targetIndex === undefined) {
179179
return;
180180
}
181181
const indexToFocus = type === 'next' ? targetIndex + 1 : targetIndex - 1;

0 commit comments

Comments
 (0)