From c6d2c9b1b564e41a6d749763ceceed038c40d406 Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Mon, 2 Sep 2024 16:32:46 +0200 Subject: [PATCH] Formatting --- packages/text-annotator/src/state/spatialTree.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/text-annotator/src/state/spatialTree.ts b/packages/text-annotator/src/state/spatialTree.ts index 675ffe76..9260c3e9 100644 --- a/packages/text-annotator/src/state/spatialTree.ts +++ b/packages/text-annotator/src/state/spatialTree.ts @@ -76,7 +76,6 @@ export const createSpatialTree = (store: Store, container: HTMLE const insert = (target: TextAnnotationTarget) => { const rects = toItems(target, container.getBoundingClientRect()); - rects.forEach(rect => tree.insert(rect)); index.set(target.annotation, rects); }