From 4d9364f945e05e2274fac496cd9f9133d5ebce6d Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Mon, 27 Jan 2025 20:16:27 +0100 Subject: [PATCH] Data/Season: Add comment --- src/routes/data/season/+layout.server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/data/season/+layout.server.ts b/src/routes/data/season/+layout.server.ts index baedc03..6732789 100644 --- a/src/routes/data/season/+layout.server.ts +++ b/src/routes/data/season/+layout.server.ts @@ -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 => { const graphics: Graphic[] = await locals.pb .collection("graphics")