From 72c38cd6a2dc43984ca6ed557e6f235af48bda1e Mon Sep 17 00:00:00 2001 From: Joe Heffernan Date: Mon, 25 Sep 2023 16:36:46 -0700 Subject: [PATCH] unused import and const -> let --- src/simularium/SelectionInterface.ts | 3 +-- src/viewport/index.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/simularium/SelectionInterface.ts b/src/simularium/SelectionInterface.ts index 0375b347..7796c7e8 100644 --- a/src/simularium/SelectionInterface.ts +++ b/src/simularium/SelectionInterface.ts @@ -1,7 +1,6 @@ -import { filter, find, set, uniq } from "lodash"; +import { filter, find, uniq } from "lodash"; import { EncodedTypeMapping } from "./types"; import { convertColorNumberToString } from "../visGeometry/color-utils"; -import _ from "lodash"; // An individual entry parsed from an encoded name // The encoded names can be just a name or a name plus a diff --git a/src/viewport/index.tsx b/src/viewport/index.tsx index f04f43a9..d1fd9865 100644 --- a/src/viewport/index.tsx +++ b/src/viewport/index.tsx @@ -566,7 +566,7 @@ class Viewport extends React.Component< } = this.props; colorChanges.forEach((colorChange) => { const { agents, color } = colorChange; - let uiDisplayData = this.selectionInterface.getUIDisplayData(); + const uiDisplayData = this.selectionInterface.getUIDisplayData(); const agentIds = this.selectionInterface.getAgentIdsByNamesAndTags(agents);