Skip to content

Commit fbd9dbe

Browse files
committed
entry.detail
1 parent a414c4c commit fbd9dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/browser-utils/src/metrics/browserMetrics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ export function _addMeasureSpans(
452452
}
453453

454454
// https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure#detail
455-
if ('detail' in entry) {
455+
if (entry.detail) {
456456
// Handle detail as an object
457457
if (typeof entry.detail === 'object') {
458458
for (const [key, value] of Object.entries(entry.detail)) {

0 commit comments

Comments
 (0)