svelte state_referenced_locally warning fixes

- change to derived where possible
- suppress warning elsewhere
- discussion here: sveltejs/svelte/issues/17289
This commit is contained in:
Christoph Kluge
2026-01-15 18:17:45 +01:00
parent cd3d133f0d
commit faacf3f343
41 changed files with 167 additions and 127 deletions

View File

@@ -52,6 +52,7 @@
/* Const Init */
// Important: init() needs to be first const declaration or contextclient will not be initialized before "const client = ..."
// svelte-ignore state_referenced_locally
const { query: initq } = init(`
job(id: "${dbid}") {
id, jobId, user, project, cluster, startTime,