aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/components/PieChart.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-05-15 15:24:31 -0400
committerbobzel <zzzman@gmail.com>2024-05-15 15:24:31 -0400
commit78fa489cd6e93ba5952c509deabafa4a69b74fd6 (patch)
tree2a7bbfd962637d2203ec317b7fa4b73e3cdb6e3b /src/client/views/nodes/DataVizBox/components/PieChart.tsx
parentb9a10c183a384f1ef52a999e12cb28a7c4fbbf55 (diff)
lint cleanup
Diffstat (limited to 'src/client/views/nodes/DataVizBox/components/PieChart.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/components/PieChart.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataVizBox/components/PieChart.tsx b/src/client/views/nodes/DataVizBox/components/PieChart.tsx
index d5410c1aa..19ea8e4fa 100644
--- a/src/client/views/nodes/DataVizBox/components/PieChart.tsx
+++ b/src/client/views/nodes/DataVizBox/components/PieChart.tsx
@@ -93,7 +93,6 @@ export class PieChart extends ObservableReactComponent<PieChartProps> {
// restore selected slices
const svg = this._piechartSvg;
if (svg && this._pieChartData[0]) {
- const key = Object.keys(this._pieChartData[0])[0];
const selectedDataBars = StrListCast(this._props.layoutDoc.dataViz_pie_selectedData);
svg.selectAll('path').attr('class', (d: any) => {
let selected = false;