From 9d43f0198b615ba70331316425ffe7c252cf153c Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sat, 8 Aug 2026 20:55:51 +0000 Subject: [PATCH] Edit README.md via Editor --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c62061..12147f8 100644 --- a/README.md +++ b/README.md @@ -245,4 +245,23 @@ The **docker folder** contains a couple of helper scripts: admin commands tools for admin@flatlogic.com admin_pass for admin@flatlogic.com password for admin@flatlogic.com PASSWORD fac6a658 - Google \ No newline at end of file + Google + import { useReportWebVitals } from 'next/web-vitals' + +const handleWebVitals = (metric) => { + switch (metric.name) { + case 'FCP': { + // handle FCP results + } + case 'LCP': { + // handle LCP results + } + // ... + } +} + +function MyApp({ Component, pageProps }) { + useReportWebVitals(handleWebVitals) + + return +} \ No newline at end of file