diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index a270820..435c22b 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -4,7 +4,7 @@ import AutoComplete from 'simple-svelte-autocomplete'; export let form: ActionData; - + let selectedName: String; let toCreate = ''; @@ -25,9 +25,9 @@ .map(([k, v]) => `${(size / k).toFixed(1)} ${v}B`)[0] ?? `${size} bytes` ); }; - + async function loadNames(keyword: String) { - const url = "./names"; + const url = './names'; const response = await fetch(url); return await response.json(); } @@ -54,14 +54,14 @@