Skip to content

Commit 195d87a

Browse files
author
Jerry Bruwes
committed
modified: index.ts
1 parent 8c532de commit 195d87a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ export default (
5151
},
5252
};
5353

54-
/* -------------------------------------------------------------------------- */
55-
5654
const getLeaves = (
5755
siblings: { configurable?: boolean; value: Record<string, unknown>[] },
5856
parent = {},
@@ -75,12 +73,8 @@ export default (
7573
];
7674
});
7775

78-
/* -------------------------------------------------------------------------- */
79-
8076
const value = isReactive(tree) ? tree : reactive(tree);
8177

82-
/* -------------------------------------------------------------------------- */
83-
8478
const leaves = computed(() => getLeaves({ value }));
8579

8680
const add = (pId: string) => {

0 commit comments

Comments
 (0)