Skip to content

Commit

Permalink
chore: disable vercel telemetry (#261)
Browse files Browse the repository at this point in the history
This commit disables the Vercel telemetry since it is no longer needed
now that the app has been functioning correctly for over a year.
  • Loading branch information
rickstaa authored Jun 2, 2024
1 parent 09bad56 commit 6a7150a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
import { sendToVercelAnalytics } from "./vitals";
// import reportWebVitals from "./reportWebVitals";
// import { sendToVercelAnalytics } from "./vitals";

import "./i18n";

Expand All @@ -18,6 +18,6 @@ root.render(
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
if (process.env.NODE_ENV === "production") {
reportWebVitals(sendToVercelAnalytics);
}
// if (process.env.NODE_ENV === "production") {
// reportWebVitals(sendToVercelAnalytics);
// }

0 comments on commit 6a7150a

Please sign in to comment.