fix: Add frontend files (not as submodule)

This commit is contained in:
2026-01-27 04:08:35 +00:00
parent 80f32b0412
commit 49ab6c6f71
20 changed files with 1551 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
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;