|
|
|
|
@ -95,6 +95,7 @@ export const TabStats = () => { |
|
|
|
|
aria-pressed={selectedTab === Tabs.TEAM1} |
|
|
|
|
onClick={() => setSelectedTab(Tabs.TEAM1)} |
|
|
|
|
data-step={Steps.PlayersTab} |
|
|
|
|
id='match_stats_team1' |
|
|
|
|
> |
|
|
|
|
<TabTitle |
|
|
|
|
teamColor={team1.shirt_color} |
|
|
|
|
@ -125,6 +126,7 @@ export const TabStats = () => { |
|
|
|
|
<Tab |
|
|
|
|
aria-pressed={selectedTab === Tabs.TEAM2} |
|
|
|
|
onClick={() => setSelectedTab(Tabs.TEAM2)} |
|
|
|
|
id='match_stats_team2' |
|
|
|
|
> |
|
|
|
|
<TabTitle |
|
|
|
|
teamColor={team2.shirt_color} |
|
|
|
|
@ -160,13 +162,13 @@ export const TabStats = () => { |
|
|
|
|
> |
|
|
|
|
<SwitchTitle t={switchTitleLexic} /> |
|
|
|
|
<SwitchButton |
|
|
|
|
id='switchButton' |
|
|
|
|
id='match_stats_cur/final' |
|
|
|
|
isFinalStatsType={isFinalStatsType} |
|
|
|
|
onClick={toggleStatsType} |
|
|
|
|
onMouseOver={isMobileDevice |
|
|
|
|
? undefined |
|
|
|
|
: onMouseOver({ |
|
|
|
|
anchorId: 'switchButton', |
|
|
|
|
anchorId: 'match_stats_cur/final', |
|
|
|
|
horizontalPosition: 'right', |
|
|
|
|
tooltipText: translate(switchButtonTooltipLexic), |
|
|
|
|
})} |
|
|
|
|
|