From 32ce4100928c7eb9e2268cc20f4ef3265b334664 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 2 Feb 2022 15:29:26 -0600 Subject: [PATCH] Show Market tags if no communities. --- web/components/contract-overview.tsx | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/web/components/contract-overview.tsx b/web/components/contract-overview.tsx index 7e50cfe3..3528a727 100644 --- a/web/components/contract-overview.tsx +++ b/web/components/contract-overview.tsx @@ -18,7 +18,7 @@ import { ContractFeed } from './contract-feed' import { TweetButton } from './tweet-button' import { Bet } from '../../common/bet' import { Comment } from '../../common/comment' -import { RevealableTagsInput } from './tags-input' +import { RevealableTagsInput, TagsInput } from './tags-input' import BetRow from './bet-row' import { Fold } from '../../common/fold' import { FoldTagList } from './tags-list' @@ -89,19 +89,26 @@ export const ContractOverview = (props: { - + {folds.length === 0 ? ( + + ) : ( + + )} - + {folds.length === 0 ? ( + + ) : ( + + )} - 0 && 'mt-4')} - contract={contract} - /> + {folds.length > 0 && ( + + )}