This commit is contained in:
lda committed 2026-04-12 02:41:36 +07:00
1 parent 6e91d0b599
commit 34e40e8c0d
13 files changed
+399 -132

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import type { AuditEvent } from "@/api";
type Props = {
events: AuditEvent[];
onRefresh: () => Promise<void>;
};
export function AuditPage({ events, onRefresh }: Props) {
return (
<section className="card span-full">
<div className="row-head">
<h2>Recent Audit Events</h2>
<button onClick={() => void onRefresh()}>Refresh</button>
</div>
<pre className="output">{JSON.stringify(events, null, 2)}</pre>
</section>
);
}