mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
Removed unused props & state in PromQueryField
This commit is contained in:
parent
e8e1d35340
commit
40b73a1fcd
@ -91,7 +91,6 @@ interface PromQueryFieldProps {
|
||||
initialQuery: PromQuery;
|
||||
hint?: any;
|
||||
history?: any[];
|
||||
metricsByPrefix?: CascaderOption[];
|
||||
onClickHintFix?: (action: any) => void;
|
||||
onPressEnter?: () => void;
|
||||
onQueryChange?: (value: PromQuery, override?: boolean) => void;
|
||||
@ -99,7 +98,6 @@ interface PromQueryFieldProps {
|
||||
|
||||
interface PromQueryFieldState {
|
||||
metricsOptions: any[];
|
||||
metricsByPrefix: CascaderOption[];
|
||||
syntaxLoaded: boolean;
|
||||
}
|
||||
|
||||
@ -124,7 +122,6 @@ class PromQueryField extends React.PureComponent<PromQueryFieldProps, PromQueryF
|
||||
];
|
||||
|
||||
this.state = {
|
||||
metricsByPrefix: [],
|
||||
metricsOptions: [],
|
||||
syntaxLoaded: false,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user