import { Card, CardContent } from '@/components/ui/card'; import { getLocale, t } from '@/lib/i18n'; import { listOwnerAudit } from '@/lib/owner-audit'; export default async function OwnerAuditPage() { const [locale, entries] = await Promise.all([getLocale(), listOwnerAudit(100)]); return (
{t(locale, 'owner.audit.subtitle')}
{t(locale, 'owner.common.empty')}
) : ( entries.map((entry) => ({entry.action}
{entry.actorUserId} {entry.targetType ? ` · ${entry.targetType}` : ''} {entry.targetId ? ` · ${entry.targetId}` : ''}