fix(#206): change link for india - about the project

tunisia.insports.tv
Andrei Dekterev 3 years ago
parent d1f0a6e4b5
commit 5bffc91ad8
  1. 1
      src/config/clients/india.tsx
  2. 1
      src/config/clients/types.tsx
  3. 2
      src/features/UserAccount/index.tsx

@ -8,6 +8,7 @@ import { insports } from './insports'
export const india: ClientConfig = {
...insports,
about_the_project: 'https://prsolution.pro',
auth: {
clientId: ClientIds.India,
},

@ -23,6 +23,7 @@ export enum ClientNames {
}
export type ClientConfig = {
about_the_project?: string,
auth: {
clientId: ClientIds,
metaDataUrlParams?: string,

@ -77,7 +77,7 @@ const UserAccount = () => {
{!isLffClient && !isInSportsClient && (
<StyledLink
target='_blank'
to={{ pathname: PAGES.about_the_project }}
to={{ pathname: client.about_the_project ?? PAGES.about_the_project }}
>
<T9n t='about_the_project' />
</StyledLink>

Loading…
Cancel
Save