fix(ui): align trajectory CI contracts

This commit is contained in:
_Kerman
2026-07-28 10:34:47 +08:00
parent b483d8fef2
commit 71f1f36175
4 changed files with 17 additions and 13 deletions
@@ -95,7 +95,7 @@ export interface TrajectoryCellProps extends HTMLAttributes<HTMLDivElement> {
/**
* Format own-duration for the trailing time column.
* @param seconds - Duration seconds, or `null` when absent.
* @returns `—` when unknown, otherwise a signed seconds label.
* @returns `—` when unknown, otherwise a seconds label.
*/
export function formatElapsedSeconds(seconds: number | null): string {
if (seconds === null || !Number.isFinite(seconds)) return '—'