Skip to content

Commit 28a3028

Browse files
committed
remove todo
1 parent 0d4ad0a commit 28a3028

File tree

1 file changed

+0
-3
lines changed
  • packages/browser-utils/src/metrics

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ function sendStandaloneClsSpan(clsValue: number, entry: LayoutShift | undefined,
8888
const duration = msToSec(entry?.duration || 0);
8989
const routeName = getCurrentScope().getScopeData().transactionName;
9090

91-
// TODO: Is this fine / does it provide any value? Alternatively, we can
92-
// - send the CLS source node as an attribute
93-
// - do nothing at all and ignore the source node
9491
const name = entry ? htmlTreeAsString(entry.sources[0]?.node) : 'Layout shift';
9592

9693
const attributes: SpanAttributes = dropUndefinedKeys({

0 commit comments

Comments
 (0)