From f56c14cac5ad6fab54d7b9ea6fe5009c19934135 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Mon, 10 Jan 2022 13:55:55 -0500 Subject: [PATCH] UI tweaks --- web/components/contract-feed.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/web/components/contract-feed.tsx b/web/components/contract-feed.tsx index 3379fcec..c2dfbce7 100644 --- a/web/components/contract-feed.tsx +++ b/web/components/contract-feed.tsx @@ -103,10 +103,8 @@ function FeedBet(props: { activityItem: any }) {
- - {isCreator ? 'You' : 'A trader'} - {' '} - placed {formatMoney(amount)} on {' '} + {isCreator ? 'You' : 'A trader'} placed{' '} + {formatMoney(amount)} on {' '} {isCreator && ( // Allow user to comment in an textarea if they are the creator @@ -446,8 +444,7 @@ function FeedBetGroup(props: { activityItem: any }) {
- {traderCount} traders placed{' '} - {yesSpan} + {traderCount} traders placed {yesSpan} {yesAmount && noAmount ? ' and ' : ''} {noSpan}
@@ -478,7 +475,7 @@ export function ContractFeed(props: { let comments = useComments(id) if (comments === 'loading') comments = [] - const groupWindow = feedType == 'activity' ? DAY_IN_MS : 10 * DAY_IN_MS + const groupWindow = feedType == 'activity' ? 10 * DAY_IN_MS : DAY_IN_MS const allItems = [ { type: 'start', id: 0 },