diff --git a/common/contract.ts b/common/contract.ts
index 9b9d428d..5e344f09 100644
--- a/common/contract.ts
+++ b/common/contract.ts
@@ -5,7 +5,7 @@ export type Contract = {
creatorId: string
creatorName: string
creatorUsername: string
- creatorAvatarUrl?: string // Start requiring after Mar 01, 2022
+ creatorAvatarUrl?: string // Start requiring after 2022-03-01
question: string
description: string // More info about what the contract is about
diff --git a/web/components/contract-feed.tsx b/web/components/contract-feed.tsx
index f79784df..69316937 100644
--- a/web/components/contract-feed.tsx
+++ b/web/components/contract-feed.tsx
@@ -1,5 +1,5 @@
// From https://tailwindui.com/components/application-ui/lists/feeds
-import { useState } from 'react'
+import { ReactChild, useState } from 'react'
import _ from 'lodash'
import {
BanIcon,
@@ -40,6 +40,27 @@ 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
+ return (
+
@@ -246,13 +259,21 @@ function FeedQuestion(props: { contract: Contract }) { return ( <> -