diff options
author | 2022-10-17 05:52:39 +0200 | |
---|---|---|
committer | 2022-10-16 20:52:39 -0700 | |
commit | 00ae8f79e4c55bf0769a5d0066d2947cf5c52073 (patch) | |
tree | d187172212bf5afcf4589ceb7bb2c8e198e8c84f /examples/react/src/reportWebVitals.js | |
parent | dc1330aef59827e057ddaaa9db50cd775991ebc7 (diff) | |
download | bun-00ae8f79e4c55bf0769a5d0066d2947cf5c52073.tar.gz bun-00ae8f79e4c55bf0769a5d0066d2947cf5c52073.tar.zst bun-00ae8f79e4c55bf0769a5d0066d2947cf5c52073.zip |
Reflecting new home for bun templates (#1317)
* Reflecting new home for bun templates
https://github.com/bun-community/create-templates/
* templates now in root
Diffstat (limited to 'examples/react/src/reportWebVitals.js')
-rw-r--r-- | examples/react/src/reportWebVitals.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/examples/react/src/reportWebVitals.js b/examples/react/src/reportWebVitals.js deleted file mode 100644 index 7d7417e81..000000000 --- a/examples/react/src/reportWebVitals.js +++ /dev/null @@ -1,13 +0,0 @@ -const reportWebVitals = onPerfEntry => { - 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;
\ No newline at end of file |