Skip to content

Commit 3d276d1

Browse files
committed
added optional chaining on line 71 in PerformanceVisx.tsx
1 parent 6317058 commit 3d276d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/StateRoute/PerformanceVisx/PerformanceVisx.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const collectNodes = (snaps, componentName) => {
6767
}
6868
break;
6969
}
70-
if (cur.children && cur.children.length > 0) {
70+
if (cur.children?.length > 0) {
7171
for (const child of cur.children) {
7272
snapshotList.push(child);
7373
}

0 commit comments

Comments
 (0)