Harden export preview handling
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-17 07:04:07 +02:00
parent 21b84dae6c
commit ff21911ac5
10 changed files with 111 additions and 15 deletions
@@ -0,0 +1,16 @@
interface ExportPreviewProps {
content: Record<string, unknown> | null
}
export function ExportPreview({ content }: ExportPreviewProps): JSX.Element | null {
if (!content) {
return null
}
return (
<section>
<h2>Export Preview</h2>
<pre className="job-result">{JSON.stringify(content, null, 2)}</pre>
</section>
)
}