diff --git a/frontend/src/lib/navbar.svelte b/frontend/src/lib/navbar.svelte index 09ac89f..7e2f403 100644 --- a/frontend/src/lib/navbar.svelte +++ b/frontend/src/lib/navbar.svelte @@ -10,7 +10,7 @@ import { createTippy } from 'svelte-tippy'; import { browser } from '$app/environment'; import BrownButton from '$lib/components/buttons/brown.svelte'; - import { fade } from 'svelte/transition'; + // import { fade } from 'svelte/transition'; const tippy = createTippy({ arrow: true, diff --git a/frontend/src/routes/results/+page.ts b/frontend/src/routes/results/+page.ts index 9f3e1de..21b697d 100644 --- a/frontend/src/routes/results/+page.ts +++ b/frontend/src/routes/results/+page.ts @@ -4,9 +4,9 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -import type { PageLoad } from './$types'; +// import type { PageLoad } from './$types'; -export const load = (async ({ fetch }) => { +export const load = async ({ fetch }) => { const res = await fetch('/api/v1/results/list?include_quiz=true'); let json; if (res.ok) { @@ -17,4 +17,4 @@ export const load = (async ({ fetch }) => { return { results: json }; -}) satisfies PageLoad; +}; // satisfies PageLoad;