diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2025-04-28 00:20:28 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2025-04-28 00:20:28 -0600 |
commit | d418dd77f23ab24e91dfebad94832f9496eb567d (patch) | |
tree | 063698ec71e71a8c0c9c79814c4b1e575bb8a1c3 /client/src/utils/reportWebVitals.js | |
parent | 6ca0b8d9488bb16a118d00aadba1b6c7955f71b6 (diff) |
Diffstat (limited to 'client/src/utils/reportWebVitals.js')
-rw-r--r-- | client/src/utils/reportWebVitals.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/utils/reportWebVitals.js b/client/src/utils/reportWebVitals.js index 5253d3a..9ecd33f 100644 --- a/client/src/utils/reportWebVitals.js +++ b/client/src/utils/reportWebVitals.js @@ -1,6 +1,6 @@ -const reportWebVitals = onPerfEntry => { +const reportWebVitals = (onPerfEntry) => { if (onPerfEntry && onPerfEntry instanceof Function) { - import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { + import("web-vitals").then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { getCLS(onPerfEntry); getFID(onPerfEntry); getFCP(onPerfEntry); |