Cut creator name from OG card metadata

(It's already on the top)
This commit is contained in:
Austin Chen 2022-01-10 02:09:39 -05:00
parent feca042e47
commit a9b4570fff

View File

@ -174,9 +174,7 @@ export function contractTextDetails(contract: Contract) {
const tags = parseTags(`${question} ${description}`).map((tag) => `#${tag}`)
return (
`${contract.creatorUsername}${
resolvedDate ? `${createdDate} - ${resolvedDate}` : createdDate
}` +
`${resolvedDate ? `${createdDate} - ${resolvedDate}` : createdDate}` +
(closeTime
? `${closeTime > Date.now() ? 'Closes' : 'Closed'} ${dayjs(
closeTime