mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Remove unused imports in new UI to fix build
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
d6f4d3a00b
commit
1b2290c131
|
@ -33,8 +33,6 @@ import ExpressionInput from "./ExpressionInput";
|
|||
import Graph from "./Graph";
|
||||
import {
|
||||
formatPrometheusDuration,
|
||||
formatTimestamp,
|
||||
now,
|
||||
parsePrometheusDuration,
|
||||
} from "../../lib/formatTime";
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@ import { computePosition, shift, flip, offset } from "@floating-ui/dom";
|
|||
import { colorPool } from "./ColorPool";
|
||||
import { useSettings } from "../../state/settingsSlice";
|
||||
import { useComputedColorScheme } from "@mantine/core";
|
||||
import { fill } from "lodash";
|
||||
|
||||
const formatYAxisTickValue = (y: number | null): string => {
|
||||
if (y === null) {
|
||||
|
@ -127,7 +126,8 @@ const tooltipPlugin = (useLocalTime: boolean) => {
|
|||
boundingTop = bbox.top;
|
||||
},
|
||||
// When a series is selected by hovering close to it, store the
|
||||
// index of the selected series.
|
||||
// index of the selected series, so we can update the hover tooltip
|
||||
// in setCursor.
|
||||
setSeries: (_u: uPlot, seriesIdx: number | null, _opts: Series) => {
|
||||
selectedSeriesIdx = seriesIdx;
|
||||
},
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
import { randomId } from "@mantine/hooks";
|
||||
import {
|
||||
PayloadAction,
|
||||
createListenerMiddleware,
|
||||
createSlice,
|
||||
} from "@reduxjs/toolkit";
|
||||
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
|
||||
import { encodePanelOptionsToURLParams } from "../pages/query/urlStateEncoding";
|
||||
import { update } from "lodash";
|
||||
|
||||
export enum GraphDisplayMode {
|
||||
Lines = "lines",
|
||||
|
|
Loading…
Reference in a new issue