fix: remove unused from and to variables

This commit is contained in:
JLDiaz (m) 2026-05-20 11:23:06 +02:00
parent 4983397c7f
commit 888bca90b9

View file

@ -55,7 +55,6 @@ const copyLinkPlugin = ViewPlugin.fromClass(
buildDecorations(view: EditorView): DecorationSet {
const builder = new RangeSetBuilder<Decoration>();
const tree = syntaxTree(view.state);
const { from, to } = view.viewport;
const selection = view.state.selection;
for (const { from: lFrom, to: lTo } of view.visibleRanges) {