Intelligence
Artifacts
Browse the repository, read documents, and manage the governance folders. Source, runtime, and infrastructure are read-only.
Repository
assignment-dispatch-button.tsxassignment-status-badge.tsxassignments-panel.tsxcreate-mission-form.tsxgovernance-panels.tsxmission-dispatch.tsxmission-edit.tsxmission-state-actions.tsxmission-status-badge.tsxobjective-edit.tsxobjective-status-badge.tsxobjective-status-select.tsxobjectives-panel.tsxreport-list.tsxwork-orders-panel.tsx
README.md
CONSTITUTION_COMPLIANCE_AUDIT_V1.mdREADME.md
repositories/aaf-holdings/hq01/components/mission-control/clock.tsx
497 B
"use client";
import { useEffect, useState } from "react";
/** Live current time for the Mission Control header. */
export function Clock() {
const [now, setNow] = useState<string | null>(null);
useEffect(() => {
const tick = () => setNow(new Date().toLocaleString());
tick();
const t = setInterval(tick, 1000);
return () => clearInterval(t);
}, []);
return (
<span className="font-mono tabular-nums" suppressHydrationWarning>
{now ?? "—"}
</span>
);
}
root · /srv/aaf