Skip to content

Commit c9915f4

Browse files
Brian VaughnKamranAsif
Brian Vaughn
authored andcommitted
Fix DevTools advanced tooltip display conditional check (facebook#22669)
1 parent cb898c6 commit c9915f4

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

+5-1
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)