Skip to content

Commit de2187d

Browse files
removes console log and fixes typo
1 parent 715b5d6 commit de2187d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docusaurus/docs/measuring-performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ reportWebVitals(sendToAnalytics);
5959
> });
6060
> }
6161
>
62-
> reportWebVitals(sendToAnalytics);\
62+
> reportWebVitals(sendToAnalytics);
6363
> ```
6464
>
6565
> Read more about sending results to Google Analytics [here](https://github.com/GoogleChrome/web-vitals#send-the-results-to-google-analytics).

packages/cra-template/template/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ serviceWorker.unregister();
2020
// If you want to start measuring performance in your app, pass a function
2121
// to log results (for example: reportWebVitals(console.log))
2222
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
23-
reportWebVitals(console.log);
23+
reportWebVitals();

0 commit comments

Comments
 (0)