remove vogel-social-media-folder from frontend and merge .gitignore into one file

This commit is contained in:
luisa.bellitto 2025-05-08 17:09:06 +02:00 committed by Rudi Regentonne
parent 26506630ef
commit 73ba7a09c6
27 changed files with 35 additions and 34 deletions

View file

@ -0,0 +1,15 @@
import { ReportHandler } from 'web-vitals';
const reportWebVitals = (onPerfEntry?: ReportHandler) => {
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;