diff options
| author | Brendan F <EpicWolverine@users.noreply.github.com> | 2023-06-25 17:14:20 -0700 |
|---|---|---|
| committer | Brendan F <EpicWolverine@users.noreply.github.com> | 2023-06-25 17:14:20 -0700 |
| commit | 3ecbe70fa70b187a03b727fd21b1fb36d46442d1 (patch) | |
| tree | c43090ebb9cd9b90e1c169750f658411bd660d71 /src | |
| parent | 1d89c9d43f05aa09b6449882bfcd9a5810438f49 (diff) | |
Fix lint issues
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.tsx | 2 | ||||
| -rw-r--r-- | src/components/Game/index.tsx | 2 | ||||
| -rw-r--r-- | src/components/InfoPopUp/index.tsx | 2 | ||||
| -rw-r--r-- | src/components/Result/index.tsx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/app.tsx b/src/app.tsx index a045bcc..26aa7bc 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -156,7 +156,7 @@ function App() { guess={guess} /> </Styled.Container> - {/* <Footer /> */} + <Footer /> </main> ); } diff --git a/src/components/Game/index.tsx b/src/components/Game/index.tsx index 84ca282..6f6b736 100644 --- a/src/components/Game/index.tsx +++ b/src/components/Game/index.tsx @@ -10,7 +10,7 @@ import * as Styled from "./index.styled"; interface Props { guesses: GuessType[]; - todaysSolution: any; + todaysSolution: Song; currentTry: number; didGuess: boolean; setSelectedSong: React.Dispatch<React.SetStateAction<Song | undefined>>; diff --git a/src/components/InfoPopUp/index.tsx b/src/components/InfoPopUp/index.tsx index eb22b19..8df4a23 100644 --- a/src/components/InfoPopUp/index.tsx +++ b/src/components/InfoPopUp/index.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { IoMusicalNoteOutline, IoHelpCircleOutline } from "react-icons/io5"; +// import { IoMusicalNoteOutline, IoHelpCircleOutline } from "react-icons/io5"; import { Button } from ".."; import * as Styled from "./index.styled"; diff --git a/src/components/Result/index.tsx b/src/components/Result/index.tsx index 9fc7861..4aadbc6 100644 --- a/src/components/Result/index.tsx +++ b/src/components/Result/index.tsx @@ -40,7 +40,7 @@ export function Result({ <> <Styled.ResultTitle>{textForTry[currentTry - 1]}</Styled.ResultTitle> <Styled.SongTitle> - Today's song is {todaysSolution.artist} - {todaysSolution.name} + Today's song is {todaysSolution.artist} - {todaysSolution.name} </Styled.SongTitle> <Styled.Tries> You guessed it in {currentTry} {currentTry === 1 ? 'try' : 'tries'}. @@ -59,7 +59,7 @@ export function Result({ <> <Styled.ResultTitle>Unfortunately, thats wrong.</Styled.ResultTitle> <Styled.SongTitle> - Today's song is {todaysSolution.artist} - {todaysSolution.name} + Today's song is {todaysSolution.artist} - {todaysSolution.name} </Styled.SongTitle> <YouTube id={todaysSolution.youtubeId} /> <Button onClick={copyResult} variant="red"> |
