diff options
| author | physcik <mynameisgennadiy@vk.com> | 2026-04-10 19:30:54 +0500 |
|---|---|---|
| committer | physcik <mynameisgennadiy@vk.com> | 2026-04-10 19:30:54 +0500 |
| commit | fd5b5fedfec1921930257b1003245f3740536556 (patch) | |
| tree | 29ab224ab0ae249f7e080f7be3d5373482e80a75 /my-app/src/reportWebVitals.ts | |
| parent | d5df390bc6e4d2860cf0bb36ffe8e0584ed96f5d (diff) | |
Front fix
Diffstat (limited to 'my-app/src/reportWebVitals.ts')
| -rw-r--r-- | my-app/src/reportWebVitals.ts | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/my-app/src/reportWebVitals.ts b/my-app/src/reportWebVitals.ts deleted file mode 100644 index 49a2a16..0000000 --- a/my-app/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; |
