From df3a2fd6bce8d4adb63ce0af558a0c558c2d9019 Mon Sep 17 00:00:00 2001 From: Ruslan Khayrullin Date: Thu, 17 Nov 2022 19:27:23 +0500 Subject: [PATCH] feat(in-142): fixes --- src/features/MatchSidePlaylists/components/TabStats/hooks.tsx | 2 +- src/features/MatchSidePlaylists/components/TabStats/index.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/features/MatchSidePlaylists/components/TabStats/hooks.tsx b/src/features/MatchSidePlaylists/components/TabStats/hooks.tsx index 935f81b5..0346586f 100644 --- a/src/features/MatchSidePlaylists/components/TabStats/hooks.tsx +++ b/src/features/MatchSidePlaylists/components/TabStats/hooks.tsx @@ -12,7 +12,7 @@ export const useTabStats = () => { const isFinalStatsType = statsType === StatsType.FINAL_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 newStatsType = isFinalStatsType ? StatsType.CURRENT_STATS : StatsType.FINAL_STATS diff --git a/src/features/MatchSidePlaylists/components/TabStats/index.tsx b/src/features/MatchSidePlaylists/components/TabStats/index.tsx index 6320ab53..82311d18 100644 --- a/src/features/MatchSidePlaylists/components/TabStats/index.tsx +++ b/src/features/MatchSidePlaylists/components/TabStats/index.tsx @@ -1,3 +1,5 @@ +import { isMobileDevice } from 'config/userAgent' + import { Tooltip } from 'features/Tooltip' import { T9n } from 'features/T9n' @@ -63,7 +65,7 @@ export const TabStats = () => { isFinalStatsType={isFinalStatsType} onClick={toggleStatsType} > - + {!isMobileDevice && }