From 849764c1ca886a8e13a92f273c75215eac9ba877 Mon Sep 17 00:00:00 2001 From: Juanma Hidalgo Date: Thu, 11 Jan 2024 14:45:25 +0100 Subject: [PATCH] fix: name taken link fix --- .../components/NamesPage/ClaimNamePage/ClaimNamePage.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webapp/src/components/NamesPage/ClaimNamePage/ClaimNamePage.tsx b/webapp/src/components/NamesPage/ClaimNamePage/ClaimNamePage.tsx index df2f9249f..ba1cf82dd 100644 --- a/webapp/src/components/NamesPage/ClaimNamePage/ClaimNamePage.tsx +++ b/webapp/src/components/NamesPage/ClaimNamePage/ClaimNamePage.tsx @@ -12,6 +12,7 @@ import { useTabletAndBelowMediaQuery } from 'decentraland-ui' import { t } from 'decentraland-dapps/dist/modules/translation/utils' +import { config } from '../../../config' import infoIcon from '../../../images/infoIcon.png' import ClaimNameImage from '../../../images/claim-name.svg' import ClaimNameBanner from '../../../images/claim-name-banner.png' @@ -41,6 +42,9 @@ import { Props } from './ClaimNamePage.types' import styles from './ClaimNamePage.module.css' import { PageLayout } from '../../PageLayout' +export const MARKETPLACE_SERVER_URL = config.get('MARKETPLACE_SERVER_URL')! +const MARKETPLACE_URL = config.get('MARKETPLACE_URL', '') + const PLACEHOLDER_WIDTH = '94px' const ClaimNamePage = (props: Props) => { @@ -370,12 +374,12 @@ const ClaimNamePage = (props: Props) => { link: (