mirror of https://github.com/buster-so/buster.git
Update BusterTableChart.tsx
This commit is contained in:
parent
83bd41d150
commit
d7aece3a3c
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue