From 3ecbe70fa70b187a03b727fd21b1fb36d46442d1 Mon Sep 17 00:00:00 2001 From: Brendan F Date: Sun, 25 Jun 2023 17:14:20 -0700 Subject: Fix lint issues --- src/components/Game/index.tsx | 2 +- src/components/InfoPopUp/index.tsx | 2 +- src/components/Result/index.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/components') 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>; 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({ <> {textForTry[currentTry - 1]} - Today's song is {todaysSolution.artist} - {todaysSolution.name} + Today's song is {todaysSolution.artist} - {todaysSolution.name} You guessed it in {currentTry} {currentTry === 1 ? 'try' : 'tries'}. @@ -59,7 +59,7 @@ export function Result({ <> Unfortunately, thats wrong. - Today's song is {todaysSolution.artist} - {todaysSolution.name} + Today's song is {todaysSolution.artist} - {todaysSolution.name}