diff --git a/web/components/contract-feed.tsx b/web/components/contract-feed.tsx index c44f58ef..b2418085 100644 --- a/web/components/contract-feed.tsx +++ b/web/components/contract-feed.tsx @@ -47,7 +47,7 @@ function FeedComment(props: { activityItem: any }) { {person.name} {' '} - placed M$ {amount} on {' '} + placed {formatMoney(amount)} on {' '}

@@ -286,7 +286,7 @@ function toFeedBet(bet: Bet) { contractId: bet.contractId, userId: bet.userId, type: 'bet', - amount: bet.amount, + amount: bet.sale ? -bet.sale.amount : bet.amount, outcome: bet.outcome, createdTime: bet.createdTime, date: dayjs(bet.createdTime).fromNow(), @@ -299,7 +299,7 @@ function toFeedComment(bet: Bet, comment: Comment) { contractId: bet.contractId, userId: bet.userId, type: 'comment', - amount: bet.amount, + amount: bet.sale ? -bet.sale.amount : bet.amount, outcome: bet.outcome, createdTime: bet.createdTime, date: dayjs(bet.createdTime).fromNow(),