fix: silence state_referenced_locally in vendored ui components

This commit is contained in:
2026-08-11 20:08:53 -04:00
parent ef8e5e7fba
commit 6366582498
4 changed files with 23 additions and 9 deletions
@@ -9,6 +9,7 @@
SIDEBAR_WIDTH_ICON
} from './constants.js';
import { setSidebar } from './context.svelte.js';
import { untrack } from 'svelte';
let {
ref = $bindable(null),
@@ -36,7 +37,7 @@
// This sets the cookie to keep the sidebar state.
document.cookie = `${SIDEBAR_COOKIE_NAME}_${contextKey}=${open}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
},
contextKey: contextKey
contextKey: untrack(() => contextKey)
});
</script>