fix duplicate strings, remove uptime percentage

This commit is contained in:
Alex Holliday committed 2025-06-10 13:57:00 +08:00
1 parent cb98359d35
commit 3224feeb9e
2 files changed
+6 -8

No files matched your search

@@ -14,7 +14,7 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => {
const { determineState } = useUtils();
const { t } = useTranslation();
const { stats, uptimePercentage } = monitor ?? {};
const { stats } = monitor ?? {};
const latestCheck = stats?.aggregateData?.latestCheck;
// Get data from latest check
@@ -95,7 +95,7 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => {
heading={t("disk")}
subHeading={formatBytes(diskTotalBytes)}
/>
<StatBox
{/* <StatBox
heading={t("uptime")}
subHeading={
<>
@@ -103,7 +103,7 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => {
<Typography component="span">%</Typography>
</>
}
/>
/> */}
<StatBox
key={8}
heading={t("os")}