diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 435c22b..b4e34a8 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -5,8 +5,7 @@ export let form: ActionData; - let selectedName: String; - let toCreate = ''; + let selectedName: string; let files: FileList; let sending = false; @@ -26,7 +25,7 @@ ); }; - async function loadNames(keyword: String) { + async function loadNames() { const url = './names'; const response = await fetch(url); return await response.json();