mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-20 19:41:44 +01:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user