summaryrefslogtreecommitdiff
path: root/src/reportWebVitals.js
diff options
context:
space:
mode:
authorrohan09-raj <[email protected]>2022-07-17 23:17:33 +0530
committerrohan09-raj <[email protected]>2022-07-17 23:17:33 +0530
commitc44c85af7ade620419c097d9fc8ce4c9c66c00a7 (patch)
treefa9b5f6322088ad75a1675780e47807efbc3108f /src/reportWebVitals.js
parente571b19f3c3215fbb7436d2f023eca02c0955e4e (diff)
Built a basic folder structure
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;