From b13bf04926aece605c273c572e2365c966d12ecf Mon Sep 17 00:00:00 2001 From: Rakov Roman Date: Mon, 23 May 2022 18:30:13 +0300 Subject: [PATCH] fix(#2424): fixed destructuring --- src/features/TournamentList/index.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/features/TournamentList/index.tsx b/src/features/TournamentList/index.tsx index 50ed262c..96215326 100644 --- a/src/features/TournamentList/index.tsx +++ b/src/features/TournamentList/index.tsx @@ -38,11 +38,11 @@ export const TournamentList = ({ matches }: TournamentTypeProps) => { case isMobileDevice && isHomePage: return ( <> - {tournamentSort?.map((tournament) => ( + {tournamentSort?.map(({ id }) => ( ))} @@ -50,11 +50,11 @@ export const TournamentList = ({ matches }: TournamentTypeProps) => { case isHomePage && matches.length >= 12: return ( <> - {tournamentSort?.map((tournament) => ( + {tournamentSort?.map(({ id }) => ( ))}