Skip to content

Commit

Permalink
chore: clean up highlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Aug 12, 2024
1 parent 68a0440 commit 3d53a4d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/front/src/fragments/Highlighter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,6 @@ export class Highlighter
) {
if (!this.enabled) return;

let previousSelection: FRAGS.FragmentIdMap = {};
if (this.selection[name]) {
previousSelection = { ...this.selection[name] };
}

if (removePrevious) {
this.clear(name);
}
Expand Down

0 comments on commit 3d53a4d

Please sign in to comment.