From 45add1643cfb8df95b3e644824eefc0a6a50df40 Mon Sep 17 00:00:00 2001 From: andrew Date: Tue, 2 Jan 2024 02:00:08 -0500 Subject: [PATCH] small fix --- packages/web/lib/highlights/useSelection.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/web/lib/highlights/useSelection.tsx b/packages/web/lib/highlights/useSelection.tsx index afdd50a90..c32db86d2 100644 --- a/packages/web/lib/highlights/useSelection.tsx +++ b/packages/web/lib/highlights/useSelection.tsx @@ -249,10 +249,6 @@ async function makeSelectionRange(): Promise< * If the selection ends on range endContainer (or startContainer in reverse select) but no text is selected (i.e. selection ends at * an empty area), the preceding text is highlighted due to range normalizing. * This is a visual bug and would sometimes lead to weird highlight behavior during removal. -<<<<<<< HEAD -======= - * See X for more detail ->>>>>>> main */ const selectionEndNode = selection.focusNode const selectionEndOffset = selection.focusOffset