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 4f941f2 commit 64476e0Copy full SHA for 64476e0
src/app/components/PerformanceVisx.tsx
@@ -124,7 +124,7 @@ const PerformanceVisx = (props: BarStackProps) => {
124
// filter and structure incoming data for VISX
125
const data = getPerfMetrics(snapshots, getSnapshotIds(hierarchy));
126
const keys = Object.keys(data[0]).filter(d => d !== 'snapshotId');
127
- const allComponentStates = traverse(snapshots[0]);
+ const allComponentStates = traverse(snapshots[-1], 'getComponentType');
128
const allComponentRtids = traverse(snapshots[-1], 'getRtids');
129
130
// create array of total render times for each snapshot
0 commit comments