Skip to content

Commit 319d644

Browse files
committed
cleanup
1 parent 07c9744 commit 319d644

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ export function trackClsAsStandaloneSpan(): void {
5858
standaloneClsEntry = entry;
5959
}, true);
6060

61-
// TODO: Figure out if we can switch to using whenIdleOrHidden instead of onHidden
62-
// use pagehide event from web-vitals
6361
onHidden(() => {
6462
_collectClsOnce();
6563
});

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ export function trackLcpAsStandaloneSpan(): void {
5858
standaloneLcpEntry = entry;
5959
}, true);
6060

61-
// TODO: Figure out if we can switch to using whenIdleOrHidden instead of onHidden
62-
// use pagehide event from web-vitals
6361
onHidden(() => {
6462
_collectLcpOnce();
6563
});

0 commit comments

Comments
 (0)