style: format code with prettier
Local Build and Deploy / deploy (push) Successful in 49s

This commit is contained in:
openhands committed 2026-07-12 21:07:34 +02:00
1 parent e85e4d74ea
commit 2e4ed76121
378 files changed
+22404 -20686

No files matched your search

+9 -9
View File
@@ -1,19 +1,19 @@
import { fetchAdminList } from '@/lib/admin-list'
import { PERMS } from '@/lib/permissions'
import { ChatTable } from './chat-table'
import { fetchAdminList } from "@/lib/admin-list";
import { PERMS } from "@/lib/permissions";
import { ChatTable } from "./chat-table";
export default async function ChatLogsPage({
params: paramsPromise,
searchParams,
}: {
params: Promise<{ locale: string }>
searchParams: Promise<Record<string, string>>
params: Promise<{ locale: string }>;
searchParams: Promise<Record<string, string>>;
}) {
const result = await fetchAdminList(
{
permission: PERMS.LOGS_VIEW,
model: 'chatLog',
searchFields: ['message', 'user.username'],
model: "chatLog",
searchFields: ["message", "user.username"],
defaultPerPage: 50,
include: { user: { select: { username: true } } },
mapRow: (l) => ({
@@ -26,7 +26,7 @@ export default async function ChatLogsPage({
},
paramsPromise,
searchParams,
)
);
return (
<div className="space-y-6">
@@ -45,5 +45,5 @@ export default async function ChatLogsPage({
}}
/>
</div>
)
);
}