From 9cbfbc5275a5b03ad62cce088808bba29b078fd7 Mon Sep 17 00:00:00 2001 From: mantikoros Date: Tue, 14 Dec 2021 11:37:31 -0600 Subject: [PATCH] contract overview: hide percent chance if market is resolved --- web/components/contract-overview.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/web/components/contract-overview.tsx b/web/components/contract-overview.tsx index 1bdf3946..8f025ed2 100644 --- a/web/components/contract-overview.tsx +++ b/web/components/contract-overview.tsx @@ -23,10 +23,12 @@ export const ContractOverview = (props: { - - {probPercent} -
chance
- + {!contract.resolution && + + {probPercent} +
chance
+ + }