import { Audit } from './Audit'; import { PlayerLogs } from './PlayerLogs'; import { TestCases } from './TestCases'; import { PageHeader } from '../components/PageHeader'; import { Tabs, useTabParam } from '../components/Tabs'; // Internal operations views in one place: the admin audit trail, the // per-player HTTP request ring buffer, and QA test cases with the GitHub // issues filed against them. Old /audit and /logs routes redirect here. export function Activity() { const [tab, setTab] = useTabParam<'audit' | 'logs' | 'testcases'>( 'audit', ['audit', 'logs', 'testcases']); return (
{tab === 'audit' && } {tab === 'logs' && } {tab === 'testcases' && }
); }