From 4f65650e408991626b0f528c5e266678d99ba85d Mon Sep 17 00:00:00 2001 From: Alec Rollison <88508028+aelishRollo@users.noreply.github.com> Date: Sat, 1 Jun 2024 16:16:23 -0400 Subject: [PATCH] fix lint --- src/ChordProgression.tsx | 14 +++++++------- src/reportWebVitals.ts | 18 +++++++++--------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/ChordProgression.tsx b/src/ChordProgression.tsx index c619531..5c1ecba 100644 --- a/src/ChordProgression.tsx +++ b/src/ChordProgression.tsx @@ -6,11 +6,11 @@ type ChordProgressionProps = { export const ChordProgression: React.FC = ({ chordProgression }) => { - return ( -
-
    - {chordProgression.map((chord, index) =>
  1. {chord}
  2. )} -
-
- ); + return ( +
+
    + {chordProgression.map((chord, index) =>
  1. {chord}
  2. )} +
+
+ ); }; diff --git a/src/reportWebVitals.ts b/src/reportWebVitals.ts index 49a2a16..d95c0a6 100644 --- a/src/reportWebVitals.ts +++ b/src/reportWebVitals.ts @@ -1,15 +1,15 @@ 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); - getFID(onPerfEntry); - getFCP(onPerfEntry); - getLCP(onPerfEntry); - getTTFB(onPerfEntry); - }); - } + if (onPerfEntry && onPerfEntry instanceof Function) { + import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { + getCLS(onPerfEntry); + getFID(onPerfEntry); + getFCP(onPerfEntry); + getLCP(onPerfEntry); + getTTFB(onPerfEntry); + }); + } }; export default reportWebVitals;