diff --git a/web/components/contract-feed.tsx b/web/components/contract-feed.tsx
index 4a25e4c6..dbeecfb9 100644
--- a/web/components/contract-feed.tsx
+++ b/web/components/contract-feed.tsx
@@ -1,5 +1,6 @@
// From https://tailwindui.com/components/application-ui/lists/feeds
import { useState } from 'react'
+import _ from 'lodash'
import {
BanIcon,
ChatAltIcon,
@@ -10,11 +11,11 @@ import {
UsersIcon,
XIcon,
} from '@heroicons/react/solid'
-import { useBets } from '../hooks/use-bets'
-import { Bet, withoutAnteBets } from '../lib/firebase/bets'
-import { Comment, mapCommentsByBetId } from '../lib/firebase/comments'
+
import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime'
+dayjs.extend(relativeTime)
+
import { OutcomeLabel } from './outcome-label'
import {
contractMetrics,
@@ -33,11 +34,18 @@ import { SiteLink } from './site-link'
import { Col } from './layout/col'
import { UserLink } from './user-page'
import { DateTimeTooltip } from './datetime-tooltip'
-dayjs.extend(relativeTime)
+import { useBets } from '../hooks/use-bets'
+import { Bet, withoutAnteBets } from '../lib/firebase/bets'
+import { Comment, mapCommentsByBetId } from '../lib/firebase/comments'
+import { JoinSpans } from './join-spans'
function FeedComment(props: { activityItem: any }) {
const { activityItem } = props
const { person, text, amount, outcome, createdTime } = activityItem
+
+ const bought = amount >= 0 ? 'bought' : 'sold'
+ const money = formatMoney(Math.abs(amount))
+
return (
<>