From 6061e9bbdfb8ae0fdbf06ea91feae24024c29641 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Tue, 30 Jul 2024 17:40:35 +0200 Subject: [PATCH] Fix lints --- src/routes/+page.svelte | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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();