From 663821d0a0251b8fea44d6fcd24e4fd23b43e624 Mon Sep 17 00:00:00 2001 From: mantikoros Date: Wed, 15 Dec 2021 12:52:43 -0600 Subject: [PATCH] contract overview: remove delete button for nonzero volume resolved contracts --- web/components/contract-overview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/contract-overview.tsx b/web/components/contract-overview.tsx index 9a5ff475..7e85c87f 100644 --- a/web/components/contract-overview.tsx +++ b/web/components/contract-overview.tsx @@ -61,7 +61,7 @@ export const ContractOverview = (props: { {/* Show a delete button for contracts without any trading */} - {isCreator && (volume === 0 || isResolved) && ( + {isCreator && volume === 0 && ( <>