1
0
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:
Matthias Kretschmann 2021-04-09 10:10:39 +02:00 committed by GitHub
parent ab01615ab3
commit 8511a3b165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {