From d7aece3a3c19106ee91d97c7b9048d7d3e1f1573 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Sat, 5 Apr 2025 12:37:28 -0600 Subject: [PATCH] Update BusterTableChart.tsx --- web/src/components/ui/charts/TableChart/BusterTableChart.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/src/components/ui/charts/TableChart/BusterTableChart.tsx b/web/src/components/ui/charts/TableChart/BusterTableChart.tsx index f1f900072..9874052bd 100644 --- a/web/src/components/ui/charts/TableChart/BusterTableChart.tsx +++ b/web/src/components/ui/charts/TableChart/BusterTableChart.tsx @@ -8,7 +8,6 @@ import { DEFAULT_CHART_CONFIG } from '@/api/asset_interfaces/metric'; import { useMemoizedFn } from '@/hooks'; -import { useChartWrapperContextSelector } from '../chartHooks/useChartWrapperProvider'; import { AppDataGrid } from '@/components/ui/table/AppDataGrid'; import './TableChart.css'; import { cn } from '@/lib/classMerge'; @@ -35,8 +34,6 @@ const BusterTableChartBase: React.FC< animate, tableColumnFontColor }) => { - const containerWidth = useChartWrapperContextSelector(({ width }) => width); - //THIS MUST BE A USE CALLBACK const onFormatHeader = useCallback( (value: any, columnName: string) => {