diff --git a/web/components/contract-feed.tsx b/web/components/contract-feed.tsx index 3cdcf1b4..f79784df 100644 --- a/web/components/contract-feed.tsx +++ b/web/components/contract-feed.tsx @@ -235,6 +235,15 @@ function FeedQuestion(props: { contract: Contract }) { description = description.slice(0, i) } + // Currently hidden on mobile; ideally we'd fit this in somewhere. + const closeMessage = + contract.isResolved || !contract.closeTime ? null : ( + + {contract.closeTime > Date.now() ? 'Closes' : 'Closed'} + + + ) + return ( <>
@@ -252,8 +261,9 @@ function FeedQuestion(props: { contract: Contract }) { username={creatorUsername} />{' '} asked + {closeMessage}
- +