aboutsummaryrefslogtreecommitdiff
path: root/src/reportWebVitals.js
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-07-11 17:10:23 -0400
committerGalen Guyer <galen@galenguyer.com>2022-07-11 17:10:23 -0400
commit935ef7d2f76cca7bc1f9840dc357de85f93a1ec2 (patch)
treecb8ee298a747d6084107266e5d2882e60a6b5daa /src/reportWebVitals.js
parent3694bf061ecfe0f6733a0cb9028d044dfc8cf9d2 (diff)
Update for new dashboard frontend
Diffstat (limited to 'src/reportWebVitals.js')
-rw-r--r--src/reportWebVitals.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/reportWebVitals.js b/src/reportWebVitals.js
deleted file mode 100644
index 7dc6b90..0000000
--- a/src/reportWebVitals.js
+++ /dev/null
@@ -1,13 +0,0 @@
-const reportWebVitals = (onPerfEntry) => {
- if (onPerfEntry && onPerfEntry instanceof Function) {
- import("web-vitals").then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
- getCLS(onPerfEntry);
- getFID(onPerfEntry);
- getFCP(onPerfEntry);
- getLCP(onPerfEntry);
- getTTFB(onPerfEntry);
- });
- }
-};
-
-export default reportWebVitals;