From ed7902f77f2be73a028028df8e595e32cc03f5b1 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Wed, 19 Jan 2022 02:54:00 -0500 Subject: [PATCH] Remove feed subicons; fix FeedBetGroup spacing --- web/components/contract-feed.tsx | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/web/components/contract-feed.tsx b/web/components/contract-feed.tsx index 69316937..0f4c8674 100644 --- a/web/components/contract-feed.tsx +++ b/web/components/contract-feed.tsx @@ -40,12 +40,8 @@ import { Comment, mapCommentsByBetId } from '../lib/firebase/comments' import { JoinSpans } from './join-spans' import Textarea from 'react-expanding-textarea' -function AvatarWithIcon(props: { - username: string - avatarUrl: string - children: ReactChild -}) { - const { username, avatarUrl, children } = props +function AvatarWithIcon(props: { username: string; avatarUrl: string }) { + const { username, avatarUrl } = props return ( - - - {children} - ) } @@ -70,9 +62,7 @@ function FeedComment(props: { activityItem: any }) { return ( <> - - +

@@ -263,9 +253,7 @@ function FeedQuestion(props: { contract: Contract }) { - + /> ) : ( // TODO: After 2022-03-01, can just assume that all contracts have an avatarUrl

@@ -531,12 +519,12 @@ function FeedBetGroup(props: { activityItem: any }) { <>
-
-
-
+
{yesBets.length > 0 && } {yesBets.length > 0 && noBets.length > 0 &&
}