Skip to content

Commit

Permalink
fix: Use link component
Browse files Browse the repository at this point in the history
  • Loading branch information
fzavalia committed Oct 5, 2023
1 parent b2a5d3a commit 4c41d66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

.proposal {
text-align: center;
font-size: 1rem;
}

.proposal .icon {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
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'
import { locations } from 'routing/locations'
import { fromBytesToMegabytes } from 'components/WorldListPage_WorldsForEnsOwnersFeature/utils'
import { config } from 'config'
import { InfoIcon } from 'components/InfoIcon'
Expand Down Expand Up @@ -108,7 +110,7 @@ export default class WorldsYourStorageModal extends React.PureComponent<Props, S
) : null}
</div>
<div>
<Button as="a" href="/claim-name" primary>
<Button as={Link} to={locations.claimENS()} primary>
{t('worlds_your_storage_modal.names_buy')}
</Button>
</div>
Expand Down

0 comments on commit 4c41d66

Please sign in to comment.