feat(in-254): pr fixes

pull/83/head
Ruslan Khayrullin 3 years ago
parent 174ea0036d
commit 2b23b71972
  1. 15
      src/features/MatchSidePlaylists/components/EventButton/index.tsx

@ -100,12 +100,15 @@ export const EventButton = ({
{(score1 || score2) && ` (${score1}-${score2})`} {(score1 || score2) && ` (${score1}-${score2})`}
</Title> </Title>
<SubTitle <SubTitle
onMouseOver={isMobileDevice ? undefined : onMouseOver({ // eslint-disable-next-line react/jsx-props-no-spreading
horizontalPosition: 'right', {...!isMobileDevice && {
indent: 15, onMouseLeave,
tooltipText: nameObj?.[`name_${suffix}`] || '', onMouseOver: onMouseOver({
})} horizontalPosition: 'right',
onMouseLeave={isMobileDevice ? undefined : onMouseLeave} indent: 15,
tooltipText: nameObj?.[`name_${suffix}`] || '',
}),
}}
> >
{playerName?.num}{' '} {playerName?.num}{' '}
{(playerId || teamId) && nameObj && <Name nameObj={nameObj} />} {(playerId || teamId) && nameObj && <Name nameObj={nameObj} />}

Loading…
Cancel
Save