style: format code with prettier

This commit is contained in:
openhands
2026-07-12 21:07:34 +02:00
parent e85e4d74ea
commit 2e4ed76121
378 changed files with 22404 additions and 20686 deletions
+9 -9
View File
@@ -1,19 +1,19 @@
import { fetchAdminList } from '@/lib/admin-list'
import { PERMS } from '@/lib/permissions'
import { TradesTable } from './trades-table'
import { fetchAdminList } from "@/lib/admin-list";
import { PERMS } from "@/lib/permissions";
import { TradesTable } from "./trades-table";
export default async function TradeLogsPage({
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: 'trade',
searchFields: ['userOne.username', 'userTwo.username'],
model: "trade",
searchFields: ["userOne.username", "userTwo.username"],
defaultPerPage: 50,
include: {
userOne: { select: { username: true } },
@@ -29,7 +29,7 @@ export default async function TradeLogsPage({
},
paramsPromise,
searchParams,
)
);
return (
<div className="space-y-6">
@@ -48,5 +48,5 @@ export default async function TradeLogsPage({
}}
/>
</div>
)
);
}