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")