feat(in-254): pr fixes

pull/100/head
Ruslan Khayrullin 3 years ago
parent 1e07dc7407
commit 586bb03c66
  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