Skip to content

Commit a29cedb

Browse files
Brian Vaughnzhengjitf
authored andcommitted
Fix DevTools advanced tooltip display conditional check (facebook#22669)
1 parent a104f69 commit a29cedb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitList.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,11 @@ function List({
217217

218218
// Only some React versions include commit durations.
219219
// Show a richer tooltip only for builds that have that info.
220-
if (effectDuration !== null || passiveEffectDuration !== null) {
220+
if (
221+
effectDuration !== null ||
222+
passiveEffectDuration !== null ||
223+
priorityLevel !== null
224+
) {
221225
tooltipLabel = (
222226
<ul className={styles.TooltipList}>
223227
{priorityLevel !== null && (

0 commit comments

Comments
 (0)