Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MGJamJam committed Jun 6, 2024
1 parent dc691b2 commit 684ac2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function QueryEditor(props: Props) {
const [isTimeSeries, setIsTimeSeries] = useState(!!props.query.interval);
const [filterRows, setFilterRows] = useState<FilterRowData[]>([]);
const isDimensionMetricSelected = useMemo(() => {
return props.query.metric != undefined;
return props.query.metric !== undefined;
}, [props.query.metric]);

useEffect(() => {
Expand Down

0 comments on commit 684ac2c

Please sign in to comment.