Skip to content

Commit e9d7528

Browse files
committed
fixes
1 parent d50e6fa commit e9d7528

File tree

1 file changed

+1
-1
lines changed
  • packages/plugin-api/src/utils

1 file changed

+1
-1
lines changed

packages/plugin-api/src/utils/tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const createTree = <T, L, G>(
5353
let parentGroups = [root];
5454

5555
for (const layer of itemGroups) {
56-
if (layer?.length === 0) {
56+
if (layer.length === 0) {
5757
break;
5858
}
5959

0 commit comments

Comments
 (0)