Files
EpicNext-Cms/src/app/admin/logs/chat/page.tsx
T
Simo b1ddda66ff
CI / check (push) Successful in 27s
CI / release (push) Skipped
CI / deploy (push) Successful in 43s
Revert "Merge pull request 'Complete Housekeeping migration and /ase cutover' (#52) from codex/housekeeping-complete into main"
This reverts commit 488b6e57c4, reversing
changes made to b506b4499a.
2026-08-30 21:31:34 +02:00

26 lines
568 B
TypeScript

import { loadChatLogList } from "../_lib/load-ignored-logs";
import { ChatTable } from "./chat-table";
export default async function ChatLogsPage({
searchParams,
}: {
params: Promise<{ locale: string }>;
searchParams: Promise<Record<string, string>>;
}) {
const result = await loadChatLogList({ searchParams, defaultPerPage: 50 });
return (
<div className="space-y-6">
<ChatTable
data={{
rows: result.rows,
total: result.total,
page: result.page,
perPage: result.perPage,
lastPage: result.lastPage,
}}
/>
</div>
);
}