diff --git a/web/components/contract/contract-leaderboard.tsx b/web/components/contract/contract-leaderboard.tsx
index 01d91b6f..cc253433 100644
--- a/web/components/contract/contract-leaderboard.tsx
+++ b/web/components/contract/contract-leaderboard.tsx
@@ -107,7 +107,6 @@ export function ContractTopTrades(props: {
comment={commentsById[topCommentId]}
tips={tips[topCommentId]}
betsBySameUser={[betsById[topCommentId]]}
- smallAvatar={false}
/>
diff --git a/web/components/feed/contract-activity.tsx b/web/components/feed/contract-activity.tsx
index 2c6a7cf8..0e66ebd9 100644
--- a/web/components/feed/contract-activity.tsx
+++ b/web/components/feed/contract-activity.tsx
@@ -71,33 +71,27 @@ export function ContractCommentsActivity(props: {
)
return (
-
+ <>
- {topLevelComments.map((parent, idx) => (
-
- {idx !== topLevelComments.length - 1 ? (
-
- ) : null}
-
-
+ {topLevelComments.map((parent) => (
+
))}
-
+ >
)
}
@@ -126,7 +120,7 @@ export function FreeResponseContractCommentsActivity(props: {
const commentsByOutcome = groupBy(comments, (c) => c.answerOutcome ?? '_')
return (
-
+ <>
{answers.map((answer) => (
))}
-
+ >
)
}
diff --git a/web/components/feed/feed-answer-comment-group.tsx b/web/components/feed/feed-answer-comment-group.tsx
index 7984872b..1f3467ea 100644
--- a/web/components/feed/feed-answer-comment-group.tsx
+++ b/web/components/feed/feed-answer-comment-group.tsx
@@ -167,7 +167,6 @@ export function FeedAnswerCommentGroup(props: {
tips={tips[comment.id]}
betsBySameUser={betsByUserId[comment.userId] ?? []}
onReplyClick={scrollAndOpenReplyInput}
- smallAvatar={true}
/>
))}
{showReply && (
diff --git a/web/components/feed/feed-bets.tsx b/web/components/feed/feed-bets.tsx
index 8dbc9395..b7aeb321 100644
--- a/web/components/feed/feed-bets.tsx
+++ b/web/components/feed/feed-bets.tsx
@@ -28,7 +28,7 @@ export function FeedBet(props: { contract: Contract; bet: Bet }) {
const isSelf = user?.id === userId
return (
-
+
{isSelf ? (
) : bettor ? (
diff --git a/web/components/feed/feed-comments.tsx b/web/components/feed/feed-comments.tsx
index 1fdfa5cb..3c5b6d63 100644
--- a/web/components/feed/feed-comments.tsx
+++ b/web/components/feed/feed-comments.tsx
@@ -59,9 +59,9 @@ export function FeedCommentThread(props: {
}
return (
-
+
{[parentComment].concat(threadComments).map((comment, commentIdx) => (
@@ -85,9 +85,9 @@ export function FeedCommentThread(props: {
/>
))}
{showReply && (
-
+
void
}) {
const {
@@ -156,7 +155,7 @@ export function FeedComment(props: {
) : null}
-
-
+
+
>
return (
- <>
-
-
-
-
-
- {mostRecentCommentableBet && (
-
- )}
- {!mostRecentCommentableBet &&
- user &&
- userPosition > 0 &&
- !isNumeric && (
- <>
- {"You're"}
-
- >
- )}
-
-
+
+
+
+ {mostRecentCommentableBet && (
+
-
+ )}
+ {!mostRecentCommentableBet && user && userPosition > 0 && !isNumeric && (
+ <>
+ {"You're"}
+
+ >
+ )}
-
- >
+
+
+
)
}
@@ -476,23 +463,21 @@ export function CommentInputTextArea(props: {
return (
<>
-
-
- {user && !isSubmitting && (
-
- )}
+
+ {user && !isSubmitting && (
+
+ )}
- {isSubmitting && (
-
- )}
-
-
+ {isSubmitting && (
+
+ )}
+
{!user && (