🚨 Fixed linter errors
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
import { createTippy } from 'svelte-tippy';
|
import { createTippy } from 'svelte-tippy';
|
||||||
import { browser } from '$app/environment';
|
import { browser } from '$app/environment';
|
||||||
import BrownButton from '$lib/components/buttons/brown.svelte';
|
import BrownButton from '$lib/components/buttons/brown.svelte';
|
||||||
import { fade } from 'svelte/transition';
|
// import { fade } from 'svelte/transition';
|
||||||
|
|
||||||
const tippy = createTippy({
|
const tippy = createTippy({
|
||||||
arrow: true,
|
arrow: true,
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
* 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');
|
const res = await fetch('/api/v1/results/list?include_quiz=true');
|
||||||
let json;
|
let json;
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
@@ -17,4 +17,4 @@ export const load = (async ({ fetch }) => {
|
|||||||
return {
|
return {
|
||||||
results: json
|
results: json
|
||||||
};
|
};
|
||||||
}) satisfies PageLoad;
|
}; // satisfies PageLoad;
|
||||||
|
|||||||
Reference in New Issue
Block a user