From ebedd5a3b7c6a6b3a6b7c2a6d9badbbac299468b Mon Sep 17 00:00:00 2001 From: Cor-Ina <115652409+Cor-Ina@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:06:38 -0500 Subject: [PATCH 01/17] fix(644): add focus outline to radio button --- .../entry/[entryId]/week/WeekTeams.tsx | 62 +++++++++++++++++++ .../WeeklyPickButton/WeeklyPickButton.tsx | 8 +-- 2 files changed, 66 insertions(+), 4 deletions(-) diff --git a/app/(main)/league/[leagueId]/entry/[entryId]/week/WeekTeams.tsx b/app/(main)/league/[leagueId]/entry/[entryId]/week/WeekTeams.tsx index 0f60c44e..2b5372cc 100644 --- a/app/(main)/league/[leagueId]/entry/[entryId]/week/WeekTeams.tsx +++ b/app/(main)/league/[leagueId]/entry/[entryId]/week/WeekTeams.tsx @@ -119,4 +119,66 @@ const WeekTeams = ({ })} ); + + +// const WeekTeams = ({ +// field, +// schedule, +// selectedTeams, +// userPick, +// onWeeklyPickChange, +// loadingTeamName, +// }: IWeekTeamsProps): JSX.Element => ( +// <> +// {schedule.map((scheduledGame) => { +// const disableGame = checkCurrentGameTime(scheduledGame.date); + +// return ( +//
+//
+//

{formatDateTime(scheduledGame.date)}

+//
+ +// onWeeklyPickChange(value as NFLTeams)} +// > +// {scheduledGame.competitions[0].competitors.map((competition, index) => ( +// +// {index > 0 && ( +//
+// @ +//
+// )} +// +// +// +// +// +//
+// ))} +//
+//
+// ); +// })} +// +// ); + export default WeekTeams; diff --git a/components/WeeklyPickButton/WeeklyPickButton.tsx b/components/WeeklyPickButton/WeeklyPickButton.tsx index 382c43f8..5f824cef 100644 --- a/components/WeeklyPickButton/WeeklyPickButton.tsx +++ b/components/WeeklyPickButton/WeeklyPickButton.tsx @@ -40,23 +40,23 @@ const WeeklyPickButton: React.FC = ({ -
+