Skip to content

Commit 4e97dc7

Browse files
authored
Remove trailing space in reportWebVitals.ts (#10040)
1 parent aec42e2 commit 4e97dc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cra-template-typescript/template/src/reportWebVitals.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { ReportHandler } from 'web-vitals';
33
const reportWebVitals = (onPerfEntry?: ReportHandler) => {
44
if (onPerfEntry && onPerfEntry instanceof Function) {
55
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
6-
getCLS(onPerfEntry);
6+
getCLS(onPerfEntry);
77
getFID(onPerfEntry);
88
getFCP(onPerfEntry);
99
getLCP(onPerfEntry);
1010
getTTFB(onPerfEntry);
1111
});
1212
}
13-
}
13+
};
1414

1515
export default reportWebVitals;

0 commit comments

Comments
 (0)