Data/Season: Add comment

This commit is contained in:
2025-01-27 20:16:27 +01:00
parent 2aa176ed5f
commit 4d9364f945

View File

@ -3,6 +3,7 @@ import type { LayoutServerLoad } from "./$types";
// This "load" function runs serverside only, as it's located inside +layout.server.ts
export const load: LayoutServerLoad = async ({ fetch, locals }) => {
// TODO: Duplicated code from racepicks/+page.server.ts
const fetch_graphics = async (): Promise<Graphic[]> => {
const graphics: Graphic[] = await locals.pb
.collection("graphics")