diff --git a/src/components/PrometheusChart/component/Charts.jsx b/src/components/PrometheusChart/component/Charts.jsx index c60de412..9f58f1cb 100644 --- a/src/components/PrometheusChart/component/Charts.jsx +++ b/src/components/PrometheusChart/component/Charts.jsx @@ -35,7 +35,7 @@ const Charts = (props) => { function renderTopCards() { return ( - + {topCardList.map((chartProps) => { if (chartProps.hidden) { return null; diff --git a/src/components/PrometheusChart/component/hooks/useNodeSelect.jsx b/src/components/PrometheusChart/component/hooks/useNodeSelect.jsx index ab25699a..4e4d8df9 100644 --- a/src/components/PrometheusChart/component/hooks/useNodeSelect.jsx +++ b/src/components/PrometheusChart/component/hooks/useNodeSelect.jsx @@ -2,7 +2,6 @@ import { Select } from 'antd'; import { get } from 'lodash'; import React, { useState } from 'react'; -import styles from '../../style.less'; const { Option } = Select; const useNodeSelect = (defaultNode) => { @@ -17,7 +16,7 @@ const useNodeSelect = (defaultNode) => { const Nodes = () => { const key = getKey(); return ( -
+
Node:{' '}