Skip to content

Commit

Permalink
Remove trailing space in reportWebVitals.ts (#10040)
Browse files Browse the repository at this point in the history
  • Loading branch information
sho-t committed Nov 10, 2020
1 parent aec42e2 commit 4e97dc7
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 4e97dc7

Please sign in to comment.