diff --git a/web/components/feed/activity-items.ts b/web/components/feed/activity-items.ts index 66acd220..dfbed0f1 100644 --- a/web/components/feed/activity-items.ts +++ b/web/components/feed/activity-items.ts @@ -85,7 +85,7 @@ const DAY_IN_MS = 24 * 60 * 60 * 1000 // - Within a day of the first in the group // (Unless the bets are older: then are grouped by 7-days.) // - Do not have a comment -// - Were not created by this user or the contract creator +// - Were not created by this user // Return a list of ActivityItems function groupBets( bets: Bet[], diff --git a/web/components/feed/feed-items.tsx b/web/components/feed/feed-items.tsx index 82815e4f..1f5f166a 100644 --- a/web/components/feed/feed-items.tsx +++ b/web/components/feed/feed-items.tsx @@ -178,7 +178,6 @@ function FeedBet(props: { const { id, amount, outcome, createdTime, userId } = bet const user = useUser() const isSelf = user?.id === userId - const isCreator = contract.creatorId === userId // You can comment if your bet was posted in the last hour const canComment = canAddComment(createdTime, isSelf) @@ -202,13 +201,6 @@ function FeedBet(props: { avatarUrl={user.avatarUrl} username={user.username} /> - ) : isCreator ? ( - ) : (
@@ -219,10 +211,7 @@ function FeedBet(props: {
- - {isSelf ? 'You' : isCreator ? contract.creatorName : 'A trader'} - {' '} - {bought} {money} + {isSelf ? 'You' : 'A trader'} {bought} {money} {!hideOutcome && ( <> {' '}