({ label, value, mono }: { label: string; value: React.ReactNode; mono?: boolean })
| 15 | import { fmtDurationMs, fmtInt, fmtTime } from "@/lib/format"; |
| 16 | |
| 17 | function Field({ label, value, mono }: { label: string; value: React.ReactNode; mono?: boolean }) { |
| 18 | return ( |
| 19 | <div className="flex flex-col gap-0.5"> |
| 20 | <span className="text-[10px] uppercase tracking-wide text-muted-foreground">{label}</span> |
| 21 | <span className={mono ? "font-mono text-xs break-all" : "text-xs"}>{value ?? "—"}</span> |
| 22 | </div> |
| 23 | ); |
| 24 | } |
| 25 | |
| 26 | // Detail view for a single in-flight query, loaded on demand by pid. The SQL is |
| 27 | // redacted server-side (usersecrets.RedactForLog) — credentials in CREATE |
nothing calls this directly
no outgoing calls
no test coverage detected