From b847a73d52939396ff3dff767c706744bd92365f Mon Sep 17 00:00:00 2001 From: Jeremy Valentine <38669521+valentine195@users.noreply.github.com> Date: Thu, 14 Sep 2023 12:14:22 -0400 Subject: [PATCH] chore: removed unnecessary ts-ignore --- src/main.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index d6796b5..112c130 100644 --- a/src/main.ts +++ b/src/main.ts @@ -367,8 +367,6 @@ ${editor.getDoc().getSelection()} el.replaceWith(admonitionElement); const view = app.workspace.getActiveViewOfType(MarkdownView); - //hack - //@ts-ignore if (view?.editor?.cm?.state?.field(editorLivePreviewField)) { const editor = view.editor.cm; admonitionElement.onClickEvent((ev) => {