style: clean up code with prettier and eslint

This commit is contained in:
openhands committed 2026-07-12 20:31:05 +02:00
1 parent 60278b9e71
commit fb8e77bb68
378 files changed
+22407 -20689

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 { 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>
)
);
}