From 8511a3b165dce03d10b77c186c1d52b9d413b86d Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Fri, 9 Apr 2021 10:10:39 +0200 Subject: [PATCH] showPricing check change (#485) --- src/components/organisms/AssetContent/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/organisms/AssetContent/index.tsx b/src/components/organisms/AssetContent/index.tsx index 7a6e7ff1e..f08891388 100644 --- a/src/components/organisms/AssetContent/index.tsx +++ b/src/components/organisms/AssetContent/index.tsx @@ -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() {