From fd0cb16eb707e59fd5ca34e0e90eaf2ad67e474a Mon Sep 17 00:00:00 2001 From: Sho T Date: Mon, 9 Nov 2020 01:19:23 +0900 Subject: [PATCH] Fix: Removed trailing space in reportWebVitals.ts --- .../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;