|
|
|
@ -12,7 +12,7 @@ export const useTabStats = () => { |
|
|
|
const isFinalStatsType = statsType === StatsType.FINAL_STATS |
|
|
|
const isFinalStatsType = statsType === StatsType.FINAL_STATS |
|
|
|
|
|
|
|
|
|
|
|
const switchTitleLexic = isFinalStatsType ? 'final_stats' : 'current_stats' |
|
|
|
const switchTitleLexic = isFinalStatsType ? 'final_stats' : 'current_stats' |
|
|
|
const tooltipLexic = isFinalStatsType ? 'display_stats_according_to_video' : 'display_all_stats' |
|
|
|
const tooltipLexic = isFinalStatsType ? 'display_all_stats' : 'display_stats_according_to_video' |
|
|
|
|
|
|
|
|
|
|
|
const toggleStatsType = () => { |
|
|
|
const toggleStatsType = () => { |
|
|
|
const newStatsType = isFinalStatsType ? StatsType.CURRENT_STATS : StatsType.FINAL_STATS |
|
|
|
const newStatsType = isFinalStatsType ? StatsType.CURRENT_STATS : StatsType.FINAL_STATS |
|
|
|
|