Skip to content
Snippets Groups Projects
Commit 82738911 authored by Eemeli Lampén's avatar Eemeli Lampén
Browse files

Delete reportWebVitals.js

parent db7995e4
No related branches found
No related tags found
Loading
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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment