diff --git a/frontend/src/lib/uPlotLib/plugins/onClickPlugin.ts b/frontend/src/lib/uPlotLib/plugins/onClickPlugin.ts index 0a49d435f92a..d9b4bd709e97 100644 --- a/frontend/src/lib/uPlotLib/plugins/onClickPlugin.ts +++ b/frontend/src/lib/uPlotLib/plugins/onClickPlugin.ts @@ -1,8 +1,7 @@ /* eslint-disable sonarjs/cognitive-complexity */ +import { getSeriesIndexFromPixel } from 'lib/uPlotLib/utils/getSeriesIndexFromPixel'; import { MetricRangePayloadProps } from 'types/api/metrics/getQueryRange'; -import { getSeriesIndexFromPixel } from '../utils/getSeriesIndexFromPixel'; - export interface OnClickPluginOpts { onClick: ( xValue: number,