From e895ba7031bf8181bd45d846a481b0dfd6f67e8b Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Wed, 11 Sep 2024 15:20:37 +0100 Subject: [PATCH] Fix INP formatting in console logging (#188) * Fix INP formatting * Revert incorrect change --- src/browser_action/vitals.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/browser_action/vitals.js b/src/browser_action/vitals.js index 4b440d0..84aa3a2 100644 --- a/src/browser_action/vitals.js +++ b/src/browser_action/vitals.js @@ -249,6 +249,8 @@ break; case 'INP': case 'Interaction': + formattedValue = millisecondsFormatter.format(metric.value); + break; default: formattedValue = secondsFormatter.format(metric.value / 1000); }