import type { useProof } from "./use-proof"; export function ProofStatus({ engine, }: { engine: ReturnType; }) { const { state } = engine; return ( <>

{state?.kind === "result" ? state.valid ? "Proof verified." : "Proof rejected. The proof and public commitment do not match." : state?.message}

{state?.kind === "progress" && ( )} ); }