We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c9744 commit 319d644Copy full SHA for 319d644
packages/browser-utils/src/metrics/cls.ts
@@ -58,8 +58,6 @@ export function trackClsAsStandaloneSpan(): void {
58
standaloneClsEntry = entry;
59
}, true);
60
61
- // TODO: Figure out if we can switch to using whenIdleOrHidden instead of onHidden
62
- // use pagehide event from web-vitals
63
onHidden(() => {
64
_collectClsOnce();
65
});
packages/browser-utils/src/metrics/lcp.ts
@@ -58,8 +58,6 @@ export function trackLcpAsStandaloneSpan(): void {
standaloneLcpEntry = entry;
_collectLcpOnce();
0 commit comments