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