Skip to content

Commit 35c0e72

Browse files
author
Brian Vaughn
committed
Fix DevTools advanced tooltip display conditional check
1 parent c624dc3 commit 35c0e72

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)