Skip to content

Commit 3f51a8b

Browse files
committed
oh linting
1 parent d549967 commit 3f51a8b

File tree

1 file changed

+1
-1
lines changed
  • packages/browser-utils/src/metrics

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function trackClsAsStandaloneSpan(): void {
9090
function sendStandaloneClsSpan(clsValue: number, entry: LayoutShift | undefined, pageloadSpanId: string) {
9191
DEBUG_BUILD && logger.log(`Sending CLS span (${clsValue})`);
9292

93-
const startTime = msToSec((browserPerformanceTimeOrigin() || 0) + ((entry?.startTime) || 0));
93+
const startTime = msToSec((browserPerformanceTimeOrigin() || 0) + (entry?.startTime || 0));
9494
const routeName = getCurrentScope().getScopeData().transactionName;
9595

9696
const name = entry ? htmlTreeAsString(entry.sources[0]?.node) : 'Layout shift';

0 commit comments

Comments
 (0)