diff --git a/src/features/ProfileCard/index.tsx b/src/features/ProfileCard/index.tsx
index 2cf857ce..b093e70b 100644
--- a/src/features/ProfileCard/index.tsx
+++ b/src/features/ProfileCard/index.tsx
@@ -1,7 +1,3 @@
-import { useMemo } from 'react'
-
-import { Link } from 'react-router-dom'
-
import type { ObjectWithName } from 'features/Name'
import {
@@ -9,8 +5,6 @@ import {
ProfileTypes,
URL_AWS,
} from 'config'
-import { client } from 'config/clients'
-import { ClientNames } from 'config/clients/types'
import { checkPage } from 'helpers/checkPage'
@@ -29,7 +23,6 @@ import {
InfoFlag,
StyledLink,
SсBtnWrapper,
- SсGetHighlightBtn,
DetailsWrapper,
} from './styled'
import { useProfileCard } from './hooks'
@@ -50,13 +43,11 @@ export const ProfileCard = ({ profile }: ProfileType) => {
isFavorite,
profileId,
profileType,
- setPlayerHighlight,
sportType,
toggleFavorites,
} = useProfileCard()
const tournamentId = profile.additionalInfo?.tournamentId
- const isPlayerPage = checkPage(PAGES.player)
const setGoogleAnalylicsID = () => {
switch (true) {
@@ -71,14 +62,16 @@ export const ProfileCard = ({ profile }: ProfileType) => {
}
}
- const isGetHighLightShown = useMemo(() => {
- switch (client.name) {
- case ClientNames.Facr:
- return false
- default:
- return true
- }
- }, [])
+ // const isPlayerPage = checkPage(PAGES.player)
+ //
+ // const isGetHighLightShown = useMemo(() => {
+ // switch (client.name) {
+ // case ClientNames.Facr:
+ // return false
+ // default:
+ // return true
+ // }
+ // }, [])
return (
@@ -115,6 +108,7 @@ export const ProfileCard = ({ profile }: ProfileType) => {
+ {/* временно отключили
{!client.disabledHighlights && isPlayerPage && isGetHighLightShown && (
{
- )}
+ )} */}
diff --git a/src/features/UserAccount/index.tsx b/src/features/UserAccount/index.tsx
index e9dd5a69..d4af259d 100644
--- a/src/features/UserAccount/index.tsx
+++ b/src/features/UserAccount/index.tsx
@@ -1,6 +1,6 @@
import { Fragment } from 'react'
-import { Route, Link } from 'react-router-dom'
+import { Route } from 'react-router-dom'
import { PAGES } from 'config'
import { isProduction } from 'config/env'
@@ -34,7 +34,6 @@ import {
Navigations,
StyledLink,
UserAccountWrapper,
- ScButtonGetHighlight,
} from './styled'
import { CompanyInfo } from '../CompanyInfo'
import { PoweredByInsports } from './components/PoweredByInsports/PoweredByInsports'
@@ -91,6 +90,7 @@ const UserAccount = () => {
)}
+ {/* временно отключили
{!client.disabledHighlights && (
@@ -98,6 +98,7 @@ const UserAccount = () => {
)}
+ */}