Commit 478a05a3 authored by eddie's avatar eddie Committed by GitHub

fix: crash in nft listing flow (#6234)

* fix: crash in nft listing flow

* fix: rename test
parent 5d666401
...@@ -48,4 +48,9 @@ describe('Testing nfts', () => { ...@@ -48,4 +48,9 @@ describe('Testing nfts', () => {
cy.get(getTestSelector('nft-details-toggle-bag')).eq(1).click() cy.get(getTestSelector('nft-details-toggle-bag')).eq(1).click()
cy.get(getTestSelector('nft-bag')).should('exist') cy.get(getTestSelector('nft-bag')).should('exist')
}) })
it('should navigate to the owned nfts page', () => {
cy.get(getTestSelector('web3-status-connected')).click()
cy.get(getTestSelector('nft-view-self-nfts')).click()
})
}) })
...@@ -7,7 +7,6 @@ import { Dispatch, useEffect, useReducer, useState } from 'react' ...@@ -7,7 +7,6 @@ import { Dispatch, useEffect, useReducer, useState } from 'react'
import { Trash2 } from 'react-feather' import { Trash2 } from 'react-feather'
import styled, { css, useTheme } from 'styled-components/macro' import styled, { css, useTheme } from 'styled-components/macro'
import { BREAKPOINTS, ThemedText } from 'theme' import { BREAKPOINTS, ThemedText } from 'theme'
import { opacify } from 'theme/utils'
import { MarketplaceRow } from './MarketplaceRow' import { MarketplaceRow } from './MarketplaceRow'
import { SetPriceMethod } from './shared' import { SetPriceMethod } from './shared'
...@@ -20,7 +19,7 @@ const NFTListRowWrapper = styled(Row)` ...@@ -20,7 +19,7 @@ const NFTListRowWrapper = styled(Row)`
border-radius: 8px; border-radius: 8px;
&:hover { &:hover {
background: ${({ theme }) => opacify(24, theme.backgroundOutline)}; background: ${({ theme }) => theme.backgroundOutline};
} }
` `
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment