Skip to content

Commit 9b5a672

Browse files
author
Brian Vaughn
committed
Surfaced newly-added lane labels in scheduling profiler UI
1 parent 668058b commit 9b5a672

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/react-devtools-scheduling-profiler/src/EventTooltip.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const TooltipReactMeasure = ({
249249
return null;
250250
}
251251

252-
const {batchUID, duration, timestamp, lanes} = measure;
252+
const {batchUID, duration, timestamp, lanes, laneLabels} = measure;
253253
const [startTime, stopTime] = getBatchRange(batchUID, data);
254254

255255
return (
@@ -265,7 +265,9 @@ const TooltipReactMeasure = ({
265265
<div className={styles.DetailsGridLabel}>
266266
Lane{lanes.length === 1 ? '' : 's'}:
267267
</div>
268-
<div>{lanes.join(', ')}</div>
268+
<div>
269+
{laneLabels.join(', ')} ({lanes.join(', ')})
270+
</div>
269271
</div>
270272
</div>
271273
);

0 commit comments

Comments
 (0)