Skip to content

Commit bb632fa

Browse files
sho-twombleton
authored andcommitted
Remove trailing space in reportWebVitals.ts (facebook#10040)
1 parent 58c588d commit bb632fa

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)