diff --git a/src/routes/data/users/+layout.server.ts b/src/routes/data/users/+page.server.ts similarity index 77% rename from src/routes/data/users/+layout.server.ts rename to src/routes/data/users/+page.server.ts index ead2408..3a0ad14 100644 --- a/src/routes/data/users/+layout.server.ts +++ b/src/routes/data/users/+page.server.ts @@ -1,7 +1,7 @@ import type { User } from "$lib/schema"; -import type { LayoutServerLoad } from "./$types"; +import type { PageServerLoad } from "./$types"; -export const load: LayoutServerLoad = async ({ fetch, locals }) => { +export const load: PageServerLoad = async ({ fetch, locals }) => { const fetch_users = async (): Promise => { const users: User[] = await locals.pb .collection("users")