Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

refactor(ui): Remove redundant comments

robin38f05ce2d751
diff --git a/ui/src/components/Editor/ToolBars/image.tsx b/ui/src/components/Editor/ToolBars/image.tsx
index 60099193..8a0cd8c8 100644
--- a/ui/src/components/Editor/ToolBars/image.tsx
+++ b/ui/src/components/Editor/ToolBars/image.tsx
@@ -112,7 +112,6 @@ const Image = ({ editorInstance }) => {
return;
}
- // const startPos = editor.getCursor(''); codemirror 6
const startPos = editor.getCursor();
const endPos = { ...startPos, ch: startPos.ch + loadingText.length };