refactor: make Svelte prop lifetimes explicit

This commit is contained in:
vorotamoroz
2026-07-17 15:04:01 +00:00
parent 6e00b8195a
commit f6b03dc811
6 changed files with 27 additions and 23 deletions
@@ -22,7 +22,7 @@
group,
children,
}: Props = $props();
const actualGroup = group ?? definedGroupContext;
const actualGroup = $derived(group ?? definedGroupContext);
const translatedTitle = $derived.by(() => translate(title));
</script>