summaryrefslogtreecommitdiff
path: root/frontend/src/reportWebVitals.tsx
diff options
context:
space:
mode:
authorPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-10-27 16:09:31 +0200
committerPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-10-27 16:09:31 +0200
commit33d1d72d5e7f2e8e7f846bbf8651d7f128765c64 (patch)
tree1b45b9cf6380a7910fa2d37c723af6a1432d5de3 /frontend/src/reportWebVitals.tsx
parent842aaba2300b295f6e046bfaf9f34cb556e203b8 (diff)
New frontend project
Diffstat (limited to 'frontend/src/reportWebVitals.tsx')
-rw-r--r--frontend/src/reportWebVitals.tsx13
1 files changed, 0 insertions, 13 deletions
diff --git a/frontend/src/reportWebVitals.tsx b/frontend/src/reportWebVitals.tsx
deleted file mode 100644
index f00fe6c..0000000
--- a/frontend/src/reportWebVitals.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-const reportWebVitals = (onPerfEntry: any) => {
- 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;