Skip to content

Commit

Permalink
Test empty commit to re-open PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Feb 23, 2021
1 parent c62986c commit 844eb03
Show file tree
Hide file tree
Showing 13 changed files with 1,055 additions and 1,817 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const TooltipReactMeasure = ({
return null;
}

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

return (
Expand All @@ -265,7 +265,11 @@ const TooltipReactMeasure = ({
<div className={styles.DetailsGridLabel}>
Lane{lanes.length === 1 ? '' : 's'}:
</div>
<div>{lanes.join(', ')}</div>
<div>
{laneLabels.length > 0
? `${laneLabels.join(', ')} (${lanes.join(', ')})`
: lanes.join(', ')}
</div>
</div>
</div>
);
Expand Down
3 changes: 2 additions & 1 deletion packages/react-devtools-scheduling-profiler/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export {
COMFORTABLE_LINE_HEIGHT,
COMPACT_LINE_HEIGHT,
} from 'react-devtools-shared/src/constants.js';
import {TotalLanes} from 'react-reconciler/src/ReactFiberLane.new';

export const REACT_TOTAL_NUM_LANES = 31;
export const REACT_TOTAL_NUM_LANES = TotalLanes;
Loading

0 comments on commit 844eb03

Please sign in to comment.