From c18ee1eca03d95a34ee00d384731dfb0635731e9 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Mon, 13 Feb 2023 17:54:25 +0100 Subject: [PATCH] :rotating_light: Fixed linter errors --- frontend/src/lib/navbar.svelte | 2 +- frontend/src/routes/results/+page.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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;