mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-20 11:36:04 +00:00
refactor: make Svelte prop lifetimes explicit
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
group,
|
||||
children,
|
||||
}: Props = $props();
|
||||
const actualGroup = group ?? definedGroupContext;
|
||||
const actualGroup = $derived(group ?? definedGroupContext);
|
||||
const translatedTitle = $derived.by(() => translate(title));
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user