fix(#in503): comments fix

pull/157/head
Farber Denis 3 years ago
parent b7026e08bb
commit 9205c61454
  1. 2
      src/features/AuthServiceApp/components/ConfirmPopup/index.tsx
  2. 4
      src/features/MatchSidePlaylists/components/TabStats/index.tsx
  3. 4
      src/features/ProfileCard/index.tsx
  4. 2
      src/features/StreamPlayer/components/Controls/Components/ControlsWeb/index.tsx
  5. 2
      src/features/StreamPlayer/index.tsx
  6. 2
      src/features/UserAccount/components/PersonalInfoForm/index.tsx

@ -44,7 +44,7 @@ export const ConfirmPopup = (props: Props) => {
</ScText>
<ScText>
<T9n t='by_clicking' />
<ScLink href={`${AUTH_SERVICE}${client.termsLink}`} target='_blank' id='personal_t&k'>
<ScLink href={`${AUTH_SERVICE}${client.termsLink}`} target='_blank' id='personal_t_k'>
<T9n t='terms_and_conditions' />
</ScLink>&nbsp;
<T9n t='and' />

@ -162,13 +162,13 @@ export const TabStats = () => {
>
<SwitchTitle t={switchTitleLexic} />
<SwitchButton
id='match_stats_cur/final'
id='match_stats_cur_final'
isFinalStatsType={isFinalStatsType}
onClick={toggleStatsType}
onMouseOver={isMobileDevice
? undefined
: onMouseOver({
anchorId: 'match_stats_cur/final',
anchorId: 'match_stats_cur/_inal',
horizontalPosition: 'right',
tooltipText: translate(switchButtonTooltipLexic),
})}

@ -58,7 +58,7 @@ export const ProfileCard = ({ profile }: ProfileType) => {
const tournamentId = profile.additionalInfo?.tournamentId
const isPlayerPage = checkPage(PAGES.player)
const setGoodleAnalylicsID = () => {
const setGoogleAnalylicsID = () => {
switch (true) {
case checkPage(PAGES.player):
return 'player_favourites'
@ -110,7 +110,7 @@ export const ProfileCard = ({ profile }: ProfileType) => {
<FavoriteButton
isFavorite={isFavorite}
onClick={toggleFavorites}
id={setGoodleAnalylicsID()}
id={setGoogleAnalylicsID()}
>
<StarIcon isFavorite={isFavorite} />
<T9n t='add_to_favorites' />

@ -73,7 +73,7 @@ export const ControlsWeb = (controlsProps: { props: ControlsPropsExtended }) =>
<PlayStop
playing={playing}
onClickCapture={togglePlaying}
id='match_video_start/stop'
id='match_video_start_stop'
/>
{!isLive && !isStorage && (
<Fragment>

@ -165,7 +165,7 @@ export const StreamPlayer = (props: Props) => {
togglePlaying()
hideCenterControls()
}}
id='match_video_screen_start/stop'
id='match_video_screen_start_stop'
/>
{isMobileDevice
? <RewindMobile isForward rewindCallback={rewindForward} />

@ -132,7 +132,7 @@ export const PersonalInfoForm = (props: Props) => {
<PrivacyPolicyLink
target='_blank'
href={`${AUTH_SERVICE}${client.termsLink}`}
id='personal_t&k'
id='personal_t_k'
>
<T9n t='terms_and_conditions' />
</PrivacyPolicyLink>

Loading…
Cancel
Save