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);