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 &&
}