Skip to content

Commit

Permalink
fix: name taken link fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo committed Jan 11, 2024
1 parent 4a85f73 commit 849764c
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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) => {
Expand Down Expand Up @@ -370,12 +374,12 @@ const ClaimNamePage = (props: Props) => {
link: (
<a
className={styles.marketplaceLinkContainer}
href={locations.names({
href={`${MARKETPLACE_URL}${locations.names({
search: name,
onlyOnSale: false,
sortBy: SortBy.NEWEST,
section: Section.ENS
})}
})}`}
target="_blank"
rel="noopener noreferrer"
>
Expand Down

0 comments on commit 849764c

Please sign in to comment.