From 1c1855af4c82ee006ab06d891d4b45aec5bb83a0 Mon Sep 17 00:00:00 2001 From: sho90 Date: Wed, 11 Nov 2020 01:41:33 +0900 Subject: [PATCH] Remove trailing space in reportWebVitals.ts (#10040) --- .../cra-template-typescript/template/src/reportWebVitals.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cra-template-typescript/template/src/reportWebVitals.ts b/packages/cra-template-typescript/template/src/reportWebVitals.ts index 59d81aaab24..49a2a16e0fb 100644 --- a/packages/cra-template-typescript/template/src/reportWebVitals.ts +++ b/packages/cra-template-typescript/template/src/reportWebVitals.ts @@ -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;