mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
showPricing check change (#485)
This commit is contained in:
parent
ab01615ab3
commit
8511a3b165
@ -51,7 +51,7 @@ export default function AssetContent(props: AssetContentProps): ReactElement {
|
||||
|
||||
useEffect(() => {
|
||||
if (!price) return
|
||||
setShowPricing(isOwner && price.address === '')
|
||||
setShowPricing(isOwner && price.type === '')
|
||||
}, [isOwner, price])
|
||||
|
||||
function handleEditButton() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user