fix(#319): check logo for team icon

pull/143/head
Andrei Dekterev 3 years ago
parent b6c77febac
commit 8a46f0a363
  1. 2
      src/features/ProfileCard/index.tsx

@ -79,7 +79,7 @@ export const ProfileCard = ({ profile }: ProfileType) => {
<Details> <Details>
<ProfileName>{name}</ProfileName> <ProfileName>{name}</ProfileName>
<InfoItems> <InfoItems>
<InfoFlag src={`${URL_AWS}/media/flags/${profile.additionalInfo.id}.png`} /> {profile.additionalInfo?.id && <InfoFlag src={`${URL_AWS}/media/flags/${profile.additionalInfo?.id}.png`} />}
{tournamentId {tournamentId
? ( ? (
<StyledLink <StyledLink

Loading…
Cancel
Save