Spaces:
Running
Running
Download frontend/src/reportWebVitals.js from BrainForge/Cybersecurity-Panel: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/BrainForge/Cybersecurity-Panel/resolve/main/frontend/src/reportWebVitals.js
- Command line
-
hf download hf://spaces/BrainForge/Cybersecurity-Panel/frontend/src/reportWebVitals.js
-
curl -L -o reportWebVitals.js https://huggingface.co/spaces/BrainForge/Cybersecurity-Panel/resolve/main/frontend/src/reportWebVitals.js
375 Bytes
| 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; | |