Ran formattor.
This commit is contained in:
1 parent
e27cc8a12b
commit
f5aefb1f0b
2 files changed
+4
-4
No files matched your search
@@ -15,7 +15,7 @@ const NetworkCharts = ({ ethernetData, dateRange }) => {
|
||||
const theme = useTheme();
|
||||
const { t } = useTranslation();
|
||||
|
||||
const {formatBytesString} = useHardwareUtils();
|
||||
const { formatBytesString } = useHardwareUtils();
|
||||
|
||||
if (!ethernetData?.length) {
|
||||
return <Typography>{t("noNetworkStatsAvailable")}</Typography>;
|
||||
@@ -31,7 +31,7 @@ const NetworkCharts = ({ ethernetData, dateRange }) => {
|
||||
gradientStartColor: theme.palette.info.main,
|
||||
yLabel: t("bytesPerSecond"),
|
||||
xTick: <TzTick dateRange={dateRange} />,
|
||||
yTick: <NetworkTick formatter={formatBytesString}/>,
|
||||
yTick: <NetworkTick formatter={formatBytesString} />,
|
||||
toolTip: (
|
||||
<InfrastructureTooltip
|
||||
dotColor={theme.palette.info.main}
|
||||
|
||||
Reference in new issue
Block a user