diff options
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); |