-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
tech maintenanceUpdates about tech stack (bundler, build, typescript ...)Updates about tech stack (bundler, build, typescript ...)
Milestone
Description
Severity
P2 — Dead code
Description
In `src/teritorio-cluster.ts`, `renderCustom` calls `clearRenderState()` on line 296, which clears both `clusterLeaves` and `featuresMap`. Then lines 302-303 immediately clear them again:
```ts
this.clearRenderState() // line 296
// ...
this.clusterLeaves.clear() // line 302 — redundant
this.featuresMap.clear() // line 303 — redundant
```
Suggested Fix
Remove lines 302-303, or remove the `clearRenderState()` call on line 296 and keep the explicit clears. Either way, one of the two must go.
Files
- `src/teritorio-cluster.ts:296,302-303`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
tech maintenanceUpdates about tech stack (bundler, build, typescript ...)Updates about tech stack (bundler, build, typescript ...)