Skip to content

Commit

Permalink
Remove trailing space in reportWebVitals.ts (facebook#10040)
Browse files Browse the repository at this point in the history
  • Loading branch information
sho-t authored and abhiisheek committed May 24, 2023
1 parent 17bdac1 commit 768d3bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { ReportHandler } from 'web-vitals';
const reportWebVitals = (onPerfEntry?: ReportHandler) => {
if (onPerfEntry && onPerfEntry instanceof Function) {
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
getCLS(onPerfEntry);
getCLS(onPerfEntry);
getFID(onPerfEntry);
getFCP(onPerfEntry);
getLCP(onPerfEntry);
getTTFB(onPerfEntry);
});
}
}
};

export default reportWebVitals;

0 comments on commit 768d3bd

Please sign in to comment.