Skip to content

Commit eb50740

Browse files
committed
Remove unused code
1 parent 5f75975 commit eb50740

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/util/setSelectionsAndFocusEditor.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ async function focusNotebookCell(editor: TextEditor) {
7979
]
8080
);
8181

82-
const activeTextEditor = window.activeTextEditor;
83-
if (activeTextEditor == null) {
84-
throw new Error("No active text editor");
85-
}
86-
8782
const desiredEditorIndex = getCellIndex(
8883
desiredNotebookDocument,
8984
editor.document

0 commit comments

Comments
 (0)