We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94230ee commit d8db360Copy full SHA for d8db360
index.ts
@@ -15,9 +15,7 @@ export default function (
15
siblings: keySiblings = "siblings",
16
} = {},
17
) {
18
- const atlas = toReactive(computed(getAtlas)),
19
- configurable = true,
20
- leaves = computed(getLeaves),
+ const configurable = true,
21
properties = {
22
[keyBranch]: {
23
get(this: Record<string, unknown>) {
@@ -51,6 +49,10 @@ export default function (
51
49
},
52
50
value = isReactive(tree) ? tree : reactive(tree);
53
+ const leaves = computed(getLeaves);
+
54
+ const atlas = toReactive(computed(getAtlas));
55
56
function getLeaves() {
57
return getSiblingLeaves({ value });
58
}
0 commit comments