From a9b4570fff5bb3f5db51b9708b4b698ff38a72ec Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Mon, 10 Jan 2022 02:09:39 -0500 Subject: [PATCH] Cut creator name from OG card metadata (It's already on the top) --- web/components/contract-card.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/components/contract-card.tsx b/web/components/contract-card.tsx index 046e8914..4571ab9e 100644 --- a/web/components/contract-card.tsx +++ b/web/components/contract-card.tsx @@ -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