Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:safe-global/safe-wallet-web into relays
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Nov 13, 2023
2 parents c29d803 + dc9d022 commit 8359c8d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions cypress/e2e/smoke/balances.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ describe('Balance tests', () => {
cy.visit(constants.BALANCE_URL + constants.SEPOLIA_TEST_SAFE_5)
main.acceptCookies()
cy.contains('Assets')
balances.selectTokenList(balances.tokenListOptions.default)
cy.get(balances.balanceSingleRow).should('have.length.lessThan', ASSETS_LENGTH)
balances.selectTokenList(balances.tokenListOptions.allTokens)
cy.get(balances.balanceSingleRow).should('have.length', ASSETS_LENGTH)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/smoke/nfts.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const nftsTokenID = 'CF'
describe('NFTs tests', () => {
beforeEach(() => {
cy.clearLocalStorage()
cy.visit(constants.BALANCE_URL + constants.SEPOLIA_TEST_SAFE_5)
cy.visit(constants.balanceNftsUrl + constants.SEPOLIA_TEST_SAFE_5)
main.acceptCookies()
nfts.clickOnNftsTab()
})
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboard/Overview/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const Overview = (): ReactElement => {
variant="contained"
color="primary"
startIcon={<AddIcon />}
sx={{ height: 1 }}
sx={{ minHeight: '40px' }}
fullWidth
>
Buy crypto
Expand Down
2 changes: 1 addition & 1 deletion src/components/nfts/NftGrid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const NftGrid = ({
onPreview,
}: NftsTableProps): ReactElement => {
const chainId = useChainId()
const linkTemplates = nftPlatforms[chainId]
const linkTemplates = nftPlatforms[chainId] || []
// Filter string
const [filter, setFilter] = useState<string>('')

Expand Down
10 changes: 9 additions & 1 deletion src/components/nfts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,15 @@ export const nftPlatforms: Record<keyof typeof chains, Array<NftPlatform>> = {
{
title: 'OpenSea',
logo: '/images/common/nft-opensea.svg',
getUrl: (item) => `https://testnets.opensea.io/assets/${item.address}/${item.id}`,
getUrl: (item) => `https://testnets.opensea.io/assets/goerli/${item.address}/${item.id}`,
},
],

[chains.sep]: [
{
title: 'OpenSea',
logo: '/images/common/nft-opensea.svg',
getUrl: (item) => `https://testnets.opensea.io/assets/sepolia/${item.address}/${item.id}`,
},
],

Expand Down

0 comments on commit 8359c8d

Please sign in to comment.