📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
removed reporting of web vitals
Blue Mouse4f36d864153d
diff --git a/src/index.js b/src/index.jsindex 051d47d56..5ac108787 100644--- a/src/index.js+++ b/src/index.js@@ -12,7 +12,6 @@ import 'prismjs/themes/prism-tomorrow.css'import AlertTemplate from 'ui/Alert'import App from './App'-import reportWebVitals from './reportWebVitals'import './index.css'console.log('%cWelcome, hacker, glad you opened your console, you seem serious about your craft and will go a long way!\nP.S. All the bugs, feature requests can be sent to [email protected]', 'color: #818cf8;background: #1f2937;font-size: 20px;text-shadow: 2px 2px black')@@ -54,5 +53,3 @@ ReactDOM.render(</React.StrictMode>,document.getElementById('root'))--reportWebVitals()diff --git a/src/reportWebVitals.js b/src/reportWebVitals.jsdeleted file mode 100644index 5253d3ad9..000000000--- 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;