Skip to content

Commit

Permalink
Fix INP formatting in console logging (#188)
Browse files Browse the repository at this point in the history
* Fix INP formatting

* Revert incorrect change
  • Loading branch information
tunetheweb authored Sep 11, 2024
1 parent fd635a7 commit e895ba7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/browser_action/vitals.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@
break;
case 'INP':
case 'Interaction':
formattedValue = millisecondsFormatter.format(metric.value);
break;
default:
formattedValue = secondsFormatter.format(metric.value / 1000);
}
Expand Down

0 comments on commit e895ba7

Please sign in to comment.