Seasonpicks: Fetch users that already made their seasonpick
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
import { fetch_drivers, fetch_seasonpicks, fetch_teams } from "$lib/fetch";
|
import { fetch_drivers, fetch_seasonpickedusers, fetch_seasonpicks, fetch_teams } from "$lib/fetch";
|
||||||
import type { PageLoad } from "../$types";
|
import type { PageLoad } from "../$types";
|
||||||
|
|
||||||
export const load: PageLoad = async ({ fetch, depends }) => {
|
export const load: PageLoad = async ({ fetch, depends }) => {
|
||||||
@ -8,5 +8,6 @@ export const load: PageLoad = async ({ fetch, depends }) => {
|
|||||||
teams: fetch_teams(fetch),
|
teams: fetch_teams(fetch),
|
||||||
drivers: fetch_drivers(fetch),
|
drivers: fetch_drivers(fetch),
|
||||||
seasonpicks: fetch_seasonpicks(fetch),
|
seasonpicks: fetch_seasonpicks(fetch),
|
||||||
|
seasonpickedusers: fetch_seasonpickedusers(fetch),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user