From 31de3636fdcb09437ad47dae33bfc7402f8783b5 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Fri, 30 Sep 2022 09:34:58 -0600 Subject: [PATCH] Fix comment tab title --- web/components/contract/contract-tabs.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/components/contract/contract-tabs.tsx b/web/components/contract/contract-tabs.tsx index e53881d3..9b732224 100644 --- a/web/components/contract/contract-tabs.tsx +++ b/web/components/contract/contract-tabs.tsx @@ -60,7 +60,9 @@ export function ContractTabs(props: { )} currently available.` : undefined, content: , - inlineTabIcon: ({formatMoney(COMMENT_BOUNTY_AMOUNT)}), + inlineTabIcon: openCommentBounties ? ( + ({formatMoney(COMMENT_BOUNTY_AMOUNT)}) + ) : undefined, }, { title: capitalize(PAST_BETS),