aboutsummaryrefslogtreecommitdiffstats
path: root/src/reportWebVitals.js
diff options
context:
space:
mode:
authordan <[email protected]>2023-08-28 11:40:36 -0400
committerdan <[email protected]>2023-08-28 11:40:36 -0400
commit38217a7101b50e7aa0a0d543cad737a011d5fac0 (patch)
tree730865f5822e6d95f655aa85959ae7086061fb7c /src/reportWebVitals.js
parent7c9345f41d9c86142019cce05ca0495408b01730 (diff)
downloaddraggable-form-demo-38217a7101b50e7aa0a0d543cad737a011d5fac0.tar.gz
draggable-form-demo-38217a7101b50e7aa0a0d543cad737a011d5fac0.tar.bz2
draggable-form-demo-38217a7101b50e7aa0a0d543cad737a011d5fac0.zip
refactor: setup and run eslint+prettier
Diffstat (limited to 'src/reportWebVitals.js')
-rw-r--r--src/reportWebVitals.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reportWebVitals.js b/src/reportWebVitals.js
index 5253d3a..9ecd33f 100644
--- a/src/reportWebVitals.js
+++ b/src/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);