From f888cfa3e2157b285ae07056868c393ef051a764 Mon Sep 17 00:00:00 2001 From: Rick Viscomi Date: Thu, 9 Jan 2025 13:18:03 -0500 Subject: [PATCH] review feedback --- src/browser_action/vitals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser_action/vitals.js b/src/browser_action/vitals.js index 5ed2587..614b431 100644 --- a/src/browser_action/vitals.js +++ b/src/browser_action/vitals.js @@ -256,7 +256,7 @@ } // Log the EOL warning at the same time as TTFB, which should only occur once per page load. - if (metric.name == 'TTFB') { + if (metric.name === 'TTFB') { console.warn(`${LOG_PREFIX} As of January 2025, support for the Web Vitals extension has ended. We encourage all users to switch to the DevTools Performance panel instead. Learn more: https://developer.chrome.com/blog/web-vitals-extension`); }