🚨 Fixed linter errors

This commit is contained in:
Mawoka
2023-02-13 17:54:25 +01:00
parent eb8abb5b0a
commit c18ee1eca0
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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,
+3 -3
View File
@@ -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;