Skip to content

Commit

Permalink
#45 WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
OudomMunint committed Feb 6, 2024
1 parent 916b6be commit 384767d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,18 @@ ReactDOM.render(
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
// Web vitals report generation here
reportWebVitals(console.log);
reportWebVitals(console.log);

// WIP: Enable web vitals report generation only in development mode
// const isDevelopment = process.env.NODE_ENV === "development";

// ReactDOM.render(
// <React.StrictMode>
// <App />
// </React.StrictMode>,
// document.getElementById("root")
// );

// if (isDevelopment) {
// reportWebVitals(console.log);
// }

0 comments on commit 384767d

Please sign in to comment.