Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb committed Apr 12, 2024
1 parent 4c6f60f commit 25c29bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attribution/onTTFB.ts
Expand Up @@ -26,7 +26,7 @@ import {
const attributeTTFB = (metric: TTFBMetric): void => {
// Only attribute if you have a non-zero value and a navigationEntry entry
// E.g. For cross-origin redirects, Safari has a workerStart time but no
// TTFB time, so do not provide attribute for that.
// TTFB time, so do not provide attribution for that.
if (metric.value && metric.entries.length) {
const navigationEntry = metric.entries[0];
const activationStart = navigationEntry.activationStart || 0;
Expand Down

0 comments on commit 25c29bd

Please sign in to comment.