Skip to content

Commit

Permalink
fix: Wrong claim name URL
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio committed Jun 20, 2024
1 parent c9c485e commit a9e64c4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class LandSelectENSForm extends React.PureComponent<Props, State>
<Link className="cancel" to={locations.landDetail(land.id)}>
<Button>{t('global.cancel')}</Button>
</Link>
<Link to={`${MARKETPLACE_WEB_URL}/names/mints`}>
<Link to={`${MARKETPLACE_WEB_URL}/names/claim`}>
<Button primary>{t('land_select_ens_page.claim_new_name')}</Button>
</Link>
</Row>
Expand All @@ -76,7 +76,7 @@ export default class LandSelectENSForm extends React.PureComponent<Props, State>
<T
id="land_select_ens_page.click_to_claim_new_name"
values={{
click_here: <Link to={`${MARKETPLACE_WEB_URL}/names/mints`}>{t('global.click_here')}</Link>
click_here: <Link to={`${MARKETPLACE_WEB_URL}/names/claim`}>{t('global.click_here')}</Link>
}}
/>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export default class DeployToLand extends React.PureComponent<Props, State> {
{t('deployment_modal.land.not_enough_land.publish_world')}
</Button>
) : (
<Button primary as={Link} className="action-button" to={`${MARKETPLACE_WEB_URL}/names/mints`}>
<Button primary as={Link} className="action-button" to={`${MARKETPLACE_WEB_URL}/names/claim`}>
{t('deployment_modal.land.not_enough_land.claim_name')}
</Button>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default class WorldsYourStorageModal extends React.PureComponent<Props, S
<div>
<Button
as="a"
to={`${MARKETPLACE_WEB_URL}/names/mints`}
to={`${MARKETPLACE_WEB_URL}/names/claim`}
primary
target="_blank"
rel="noopener noreferrer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function WorldContributorTab({ items, deploymentsByWorlds, projec
<div className="empty-description">
{t('worlds_list_page.empty_contributor_list.description', { b: (text: string) => <b>{text}</b> })}
</div>
<Button as="a" href={`${config.get('MARKETPLACE_WEB_URL')}/names/mint`} target="_blank" className="empty-action" primary>
<Button as="a" href={`${config.get('MARKETPLACE_WEB_URL')}/names/claim`} target="_blank" className="empty-action" primary>
{t('worlds_list_page.empty_list.cta')}
</Button>
</Empty>
Expand Down
2 changes: 1 addition & 1 deletion src/components/WorldListPage/WorldListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const WorldListPage: React.FC<Props> = props => {
const handleClaimENS = useCallback(() => {
if (tab === TabType.DCL) {
track(PAGE_ACTION_EVENT, { action: 'Click Claim NAME' })
window.open(`${MARKETPLACE_WEB_URL}/names/mint`, '_blank', 'noopener,noreferrer')
window.open(`${MARKETPLACE_WEB_URL}/names/claim`, '_blank', 'noopener,noreferrer')
} else {
track(PAGE_ACTION_EVENT, { action: 'Click Claim ENS Domain' })
window.open(ENS_DOMAINS_URL, '_blank', 'noopener,noreferrer')
Expand Down

0 comments on commit a9e64c4

Please sign in to comment.