source: frontend/src/reportWebVitals.js@ 0f5aa27

Last change on this file since 0f5aa27 was e6c2521, checked in by darsov2 <62809499+darsov2@…>, 10 months ago

images upload/download impl, other fixes

  • Property mode set to 100644
File size: 362 bytes
Line 
1const reportWebVitals = onPerfEntry => {
2 if (onPerfEntry && onPerfEntry instanceof Function) {
3 import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
4 getCLS(onPerfEntry);
5 getFID(onPerfEntry);
6 getFCP(onPerfEntry);
7 getLCP(onPerfEntry);
8 getTTFB(onPerfEntry);
9 });
10 }
11};
12
13export default reportWebVitals;
Note: See TracBrowser for help on using the repository browser.