FeedQuestion: hide close time
This commit is contained in:
parent
6e38540d58
commit
fe5fba184f
|
@ -303,14 +303,14 @@ export function FeedQuestion(props: {
|
||||||
const { volumeLabel } = contractMetrics(contract)
|
const { volumeLabel } = contractMetrics(contract)
|
||||||
const isBinary = outcomeType === 'BINARY'
|
const isBinary = outcomeType === 'BINARY'
|
||||||
|
|
||||||
const closeMessage =
|
// const closeMessage =
|
||||||
contract.isResolved || !contract.closeTime ? null : (
|
// contract.isResolved || !contract.closeTime ? null : (
|
||||||
<>
|
// <>
|
||||||
<span className="mx-2">•</span>
|
// <span className="mx-2">•</span>
|
||||||
{contract.closeTime > Date.now() ? 'Closes' : 'Closed'}
|
// {contract.closeTime > Date.now() ? 'Closes' : 'Closed'}
|
||||||
<RelativeTimestamp time={contract.closeTime || 0} />
|
// <RelativeTimestamp time={contract.closeTime || 0} />
|
||||||
</>
|
// </>
|
||||||
)
|
// )
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
@ -329,7 +329,7 @@ export function FeedQuestion(props: {
|
||||||
{/* Currently hidden on mobile; ideally we'd fit this in somewhere. */}
|
{/* Currently hidden on mobile; ideally we'd fit this in somewhere. */}
|
||||||
<span className="float-right hidden text-gray-400 sm:inline">
|
<span className="float-right hidden text-gray-400 sm:inline">
|
||||||
{volumeLabel}
|
{volumeLabel}
|
||||||
{closeMessage}
|
{/* {closeMessage} */}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<Col className="items-start justify-between gap-2 sm:flex-row sm:gap-4">
|
<Col className="items-start justify-between gap-2 sm:flex-row sm:gap-4">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user