From 9f218b345a19ac3a707da9f0e317dae3574e2e1a Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Mon, 28 Feb 2022 16:52:06 +0700 Subject: [PATCH] fix(2288): fix name to short_name for teams popup --- .../PreferencesPopup/components/TournamentInfo/index.tsx | 9 +++++++-- src/features/TournamentsPopup/index.tsx | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/features/PreferencesPopup/components/TournamentInfo/index.tsx b/src/features/PreferencesPopup/components/TournamentInfo/index.tsx index 64ff1020..9531ffca 100644 --- a/src/features/PreferencesPopup/components/TournamentInfo/index.tsx +++ b/src/features/PreferencesPopup/components/TournamentInfo/index.tsx @@ -38,12 +38,17 @@ const StyledName = styled(Name)` type Props = { isIcon?: boolean, + prefix?: string, tournament: Tournament, } -export const TournamentInfo = ({ isIcon, tournament }: Props) => ( +export const TournamentInfo = ({ + isIcon, + prefix, + tournament, +}: Props) => ( - + {isIcon && } diff --git a/src/features/TournamentsPopup/index.tsx b/src/features/TournamentsPopup/index.tsx index 4d50e8e6..65f1e1b1 100644 --- a/src/features/TournamentsPopup/index.tsx +++ b/src/features/TournamentsPopup/index.tsx @@ -67,7 +67,7 @@ export const TournamentsPopup = () => { onClick={close} key={team.id} > - + ))}