Вырезан web-vitals

This commit is contained in:
goodmice 2022-10-27 16:48:44 +05:00
parent 811d48a47b
commit 6024c7ca64
No known key found for this signature in database
GPG Key ID: 63EA771203189CF1
2 changed files with 1 additions and 8 deletions

View File

@ -12,8 +12,7 @@
"react-dom": "^18.1.0", "react-dom": "^18.1.0",
"react-router-dom": "^6.3.0", "react-router-dom": "^6.3.0",
"rxjs": "^7.5.5", "rxjs": "^7.5.5",
"usehooks-ts": "^2.6.0", "usehooks-ts": "^2.6.0"
"web-vitals": "^2.1.4"
}, },
"scripts": { "scripts": {
"test": "jest", "test": "jest",

View File

@ -1,7 +1,6 @@
import React from 'react' import React from 'react'
import { createRoot } from 'react-dom/client' import { createRoot } from 'react-dom/client'
import reportWebVitals from './reportWebVitals'
import App from './App' import App from './App'
import '@styles/index.css' import '@styles/index.css'
@ -14,8 +13,3 @@ root.render(
<App /> <App />
</React.StrictMode> </React.StrictMode>
) )
// 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
reportWebVitals()