Remove 'See more...' from feed items
This commit is contained in:
parent
9badbb3192
commit
7758ec1d24
|
@ -340,14 +340,6 @@ export function FeedQuestion(props: {
|
|||
>
|
||||
{question}
|
||||
</SiteLink>
|
||||
{!showDescription && (
|
||||
<SiteLink
|
||||
href={contractPath(contract)}
|
||||
className="relative top-4 self-end text-sm sm:self-start"
|
||||
>
|
||||
<div className="pb-1.5 text-gray-400">See more...</div>
|
||||
</SiteLink>
|
||||
)}
|
||||
</Col>
|
||||
{(isBinary || resolution) && (
|
||||
<ResolutionOrChance className="items-center" contract={contract} />
|
||||
|
|
|
@ -59,7 +59,10 @@ export function findActiveContracts(
|
|||
}
|
||||
|
||||
let activeContracts = allContracts.filter(
|
||||
(contract) => contract.visibility === 'public' && !contract.isResolved
|
||||
(contract) =>
|
||||
contract.visibility === 'public' &&
|
||||
!contract.isResolved &&
|
||||
(contract.closeTime ?? Infinity) > Date.now()
|
||||
)
|
||||
activeContracts = _.sortBy(
|
||||
activeContracts,
|
||||
|
|
Loading…
Reference in New Issue
Block a user