Skip to content

Commit fa6cb0f

Browse files
DobruniaCopilot
andauthored
Update packages/javascript/src/addons/longTasks.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0eef530 commit fa6cb0f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/javascript/src/addons/longTasks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ function observeLoAF(onEntry: (e: LongTaskEvent) => void): void {
223223
['startTime', Math.round(loaf.startTime)],
224224
['durationMs', durationMs],
225225
['blockingDurationMs', blockingDurationMs],
226-
['renderStart', loaf.renderStart ? Math.round(loaf.renderStart) : null],
227-
['styleAndLayoutStart', loaf.styleAndLayoutStart ? Math.round(loaf.styleAndLayoutStart) : null],
228-
['firstUIEventTimestamp', loaf.firstUIEventTimestamp ? Math.round(loaf.firstUIEventTimestamp) : null],
226+
['renderStart', loaf.renderStart != null ? Math.round(loaf.renderStart) : null],
227+
['styleAndLayoutStart', loaf.styleAndLayoutStart != null ? Math.round(loaf.styleAndLayoutStart) : null],
228+
['firstUIEventTimestamp', loaf.firstUIEventTimestamp != null ? Math.round(loaf.firstUIEventTimestamp) : null],
229229
['scripts', scripts],
230230
]);
231231

0 commit comments

Comments
 (0)