From d275e49538b2b4ad1e2c916ce74de9091853b867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=B6derlund?= Date: Tue, 23 Apr 2024 22:04:30 +0200 Subject: [PATCH] Fixed svelte-check warnings --- .../tests/array-error-tainted/+page.svelte | 3 +-- .../(v1)/tests/custom-validity/+page.svelte | 2 +- .../(v1)/tests/multiselect/+page.svelte | 3 +-- src/routes/(v1)/tests/sten/+page.svelte | 4 ++-- src/routes/(v2)/v2/issue-345/+page.svelte | 8 -------- src/routes/(v2)/v2/issue-356/Header.svelte | 19 ------------------- src/routes/(v2)/v2/issue-358/+page.svelte | 8 -------- src/routes/(v2)/v2/issue-360/+page.svelte | 10 +--------- .../(v2)/v2/zod-discriminated/+page.svelte | 4 ---- 9 files changed, 6 insertions(+), 55 deletions(-) diff --git a/src/routes/(v1)/tests/array-error-tainted/+page.svelte b/src/routes/(v1)/tests/array-error-tainted/+page.svelte index 824972cf..c8c4db91 100644 --- a/src/routes/(v1)/tests/array-error-tainted/+page.svelte +++ b/src/routes/(v1)/tests/array-error-tainted/+page.svelte @@ -23,8 +23,7 @@ validators: zod(schema) }); - // eslint-disable-next-line svelte/valid-compile - $: status = get(page).status; + const status = get(page).status; diff --git a/src/routes/(v1)/tests/custom-validity/+page.svelte b/src/routes/(v1)/tests/custom-validity/+page.svelte index 024b5db2..7a995260 100644 --- a/src/routes/(v1)/tests/custom-validity/+page.svelte +++ b/src/routes/(v1)/tests/custom-validity/+page.svelte @@ -57,7 +57,7 @@ 2