aboutsummaryrefslogtreecommitdiff
path: root/src/reportWebVitals.js
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-26 20:00:09 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-26 20:00:09 +0530
commitdb693ab4000405f5b02e71dfaf78efe6884b775b (patch)
tree169712dca42359a1575f9a889a1e60556932ada4 /src/reportWebVitals.js
parentecff3ce21dc1fb68cbe62533a1798bc7b4c061ba (diff)
First Commit
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 5253d3a..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;