Svelte: fix 3 svelte-check warnings (non-IDAA) + Playwright test type error
- ae_comp__badge_print_controls: select_ref_badge_type declared as $state()
so Svelte 5 tracks DOM ref assignment correctly (was plain let).
- launcher_cfg_section: <svelte:component this={icon}> replaced with
let Icon = $derived(icon) + <Icon /> — svelte_component_deprecated fix.
- launcher_file_cont: same svelte_component_deprecated fix for FileIcon.
- badge_print_layout.test.ts: inject_idb signature changed from (badge, template)
to ({ badge, template }) — page.evaluate() passes exactly one argument;
all three call sites updated to pass { badge: mock_badge, template: mock_template }.
This commit is contained in:
@@ -293,7 +293,7 @@
|
||||
let input_ref_location: HTMLInputElement | undefined;
|
||||
let input_ref_pronouns: HTMLInputElement | undefined;
|
||||
let input_ref_allow_tracking: HTMLInputElement | undefined;
|
||||
let select_ref_badge_type: HTMLSelectElement | undefined;
|
||||
let select_ref_badge_type: HTMLSelectElement | undefined = $state();
|
||||
|
||||
$effect(() => {
|
||||
const field = active_field;
|
||||
|
||||
Reference in New Issue
Block a user