fix: repair frontend production build regressions

This commit is contained in:
cesnimda
2026-03-22 20:36:02 +01:00
parent d3a79f823b
commit 6d9c278f40
8 changed files with 45 additions and 84 deletions
+5 -10
View File
@@ -54,9 +54,14 @@ function formatBytes(bytes?: number | null) {
return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
}
function displayMetadata(value?: string | null) {
return value && value.trim().length > 0 ? value : "-";
}
export default function AdminSystemPage() {
const [status, setStatus] = useState<SystemStatus | null>(null);
const [loading, setLoading] = useState(false);
const [runningProbe, setRunningProbe] = useState(false);
const [error, setError] = useState<string | null>(null);
const load = async () => {
@@ -193,13 +198,3 @@ export default function AdminSystemPage() {
</Box>
);
}
.summarizer.lastError}</Alert> : null}
</Paper>
</Box>
);
}
tus.summarizer.lastError}</Alert> : null}
</Paper>
</Box>
);
}