Ran formattor.

This commit is contained in:
Owaise committed 2025-08-12 23:49:45 +05:30
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}