Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
alexprudhomme committed Jul 9, 2024
1 parent 5685c26 commit 45e6e46
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/atomic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"focus-visible": "5.2.0",
"i18next": "23.11.4",
"i18next-http-backend": "2.5.1",
"marked": "13.0.2",
"marked": "12.0.2",
"stencil-inline-svg": "1.1.0",
"ts-debounce": "^4.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/quantic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@coveo/bueno": "0.45.9",
"@coveo/headless": "2.72.0",
"dompurify": "3.1.5",
"marked": "13.0.2"
"marked": "12.0.2"
},
"engines": {
"node": ">=14.0.0"
Expand Down
16 changes: 8 additions & 8 deletions packages/samples/headless-react/src/reportWebVitals.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import {ReportHandler} from 'web-vitals';
import {ReportCallback} from 'web-vitals';

const reportWebVitals = (onPerfEntry?: ReportHandler) => {
const reportWebVitals = (onPerfEntry?: ReportCallback) => {
if (onPerfEntry && onPerfEntry instanceof Function) {
import('web-vitals').then(({getCLS, getFID, getFCP, getLCP, getTTFB}) => {
getCLS(onPerfEntry);
getFID(onPerfEntry);
getFCP(onPerfEntry);
getLCP(onPerfEntry);
getTTFB(onPerfEntry);
import('web-vitals').then(({onCLS, onFID, onFCP, onLCP, onTTFB}) => {
onCLS(onPerfEntry);
onFID(onPerfEntry);
onFCP(onPerfEntry);
onLCP(onPerfEntry);
onTTFB(onPerfEntry);
});
}
};
Expand Down
File renamed without changes.

0 comments on commit 45e6e46

Please sign in to comment.