revert fb8e77bb68
Local Build and Deploy / deploy (push) Successful in 1m11s

revert style: clean up code with prettier and eslint
This commit is contained in:
remco committed 2026-07-12 21:02:03 +02:00
1 parent 27de078f54
commit e85e4d74ea
378 files changed
+20710 -22428

No files matched your search

+10 -10
View File
@@ -1,20 +1,20 @@
import { fetchAdminList } from "@/lib/admin-list";
import { PERMS } from "@/lib/permissions";
import { OnlineTable } from "./online-table";
import { fetchAdminList } from '@/lib/admin-list'
import { PERMS } from '@/lib/permissions'
import { OnlineTable } from './online-table'
export default async function OnlineUsersPage({
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.USERS_VIEW,
model: "user",
searchFields: ["username", "motto"],
baseWhere: { online: "1" },
model: 'user',
searchFields: ['username', 'motto'],
baseWhere: { online: '1' },
defaultPerPage: 50,
select: {
id: true,
@@ -25,7 +25,7 @@ export default async function OnlineUsersPage({
},
paramsPromise,
searchParams,
);
)
return (
<div className="space-y-6">
@@ -44,5 +44,5 @@ export default async function OnlineUsersPage({
}}
/>
</div>
);
)
}