Skip to content

Commit

Permalink
fix: Links open on a new tab (#2949)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzavalia committed Oct 6, 2023
1 parent 7f2d1fe commit 1e97fd1
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
import { Link } from 'react-router-dom'
import { Button, ModalContent, ModalNavigation } from 'decentraland-ui'
import Modal from 'decentraland-dapps/dist/containers/Modal'
import { t } from 'decentraland-dapps/dist/modules/translation/utils'
Expand Down Expand Up @@ -68,7 +67,7 @@ export default class WorldsYourStorageModal extends React.PureComponent<Props, S
) : null}
</div>
<div>
<Button as="a" href={ACCOUNT_URL} primary>
<Button as="a" href={ACCOUNT_URL} primary target="_blank" rel="noopener noreferrer">
{t('worlds_your_storage_modal.mana_buy')}
</Button>
</div>
Expand All @@ -89,7 +88,7 @@ export default class WorldsYourStorageModal extends React.PureComponent<Props, S
) : null}
</div>
<div>
<Button as="a" href={MARKETPLACE_WEB_URL + '/lands'} primary>
<Button as="a" href={MARKETPLACE_WEB_URL + '/lands'} primary target="_blank" rel="noopener noreferrer">
{t('worlds_your_storage_modal.lands_buy')}
</Button>
</div>
Expand All @@ -110,7 +109,7 @@ export default class WorldsYourStorageModal extends React.PureComponent<Props, S
) : null}
</div>
<div>
<Button as={Link} to={locations.claimENS()} primary>
<Button as="a" href={locations.claimENS()} primary target="_blank" rel="noopener noreferrer">
{t('worlds_your_storage_modal.names_buy')}
</Button>
</div>
Expand Down

1 comment on commit 1e97fd1

@vercel
Copy link

@vercel vercel bot commented on 1e97fd1 Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder – ./

builder-decentraland1.vercel.app
builder-git-master-decentraland1.vercel.app

Please sign in to comment.