summaryrefslogtreecommitdiff
path: root/src/reportWebVitals.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-13 21:54:30 +0300
committereug-vs <eug-vs@keemail.me>2021-03-13 22:42:31 +0300
commit1b6e230df7ffd31226af1716f5e442c134ea1c38 (patch)
treed14d71bd7b0073343296b646cb8bf8826bcad31e /src/reportWebVitals.ts
parent58c47725b9f2c171065b9e35cdbc0e4525ec7255 (diff)
downloadcommercel-ui-1b6e230df7ffd31226af1716f5e442c134ea1c38.tar.gz
feat: install tailwindcss
Diffstat (limited to 'src/reportWebVitals.ts')
-rw-r--r--src/reportWebVitals.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/reportWebVitals.ts b/src/reportWebVitals.ts
deleted file mode 100644
index 49a2a16..0000000
--- a/src/reportWebVitals.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { ReportHandler } from 'web-vitals';
-
-const reportWebVitals = (onPerfEntry?: ReportHandler) => {
- 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;