Skip to content

Commit 54a6fd3

Browse files
DobrunianeSpecc
andauthored
Update packages/javascript/src/addons/longTasks.ts
Co-authored-by: Peter <specc.dev@gmail.com>
1 parent fa6cb0f commit 54a6fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/javascript/src/addons/longTasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function observeLoAF(onEntry: (e: LongTaskEvent) => void): void {
204204
for (const entry of list.getEntries()) {
205205
const loaf = entry as LoAFEntry;
206206
const durationMs = Math.round(loaf.duration);
207-
const blockingDurationMs = loaf.blockingDuration != null
207+
const blockingDurationMs = loaf.blockingDuration !== null
208208
? Math.round(loaf.blockingDuration)
209209
: null;
210210

0 commit comments

Comments
 (0)