diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx
index 574fdd53..57d4a60c 100644
--- a/web/components/bet-panel.tsx
+++ b/web/components/bet-panel.tsx
@@ -26,13 +26,17 @@ import { AmountInput } from './amount-input'
import { InfoTooltip } from './info-tooltip'
import { OutcomeLabel } from './outcome-label'
-export function BetPanel(props: { contract: Contract; className?: string }) {
+export function BetPanel(props: {
+ contract: Contract
+ className?: string
+ title?: string
+}) {
useEffect(() => {
// warm up cloud function
placeBet({}).catch()
}, [])
- const { contract, className } = props
+ const { contract, className, title } = props
const user = useUser()
@@ -113,10 +117,7 @@ export function BetPanel(props: { contract: Contract; className?: string }) {
-
+
Outcome
+
+
+
+
+ >
+ )
+}
+
+export function Modal(props: {
+ children: React.ReactNode
+ open: boolean
+ setOpen: (open: boolean) => void
+}) {
+ const { children, open, setOpen } = props
+
+ return (
+
+
+
+ )
+}
diff --git a/web/components/contract-feed.tsx b/web/components/contract-feed.tsx
index 99a4edb0..ddb2f208 100644
--- a/web/components/contract-feed.tsx
+++ b/web/components/contract-feed.tsx
@@ -38,6 +38,7 @@ import { JoinSpans } from './join-spans'
import Textarea from 'react-expanding-textarea'
import { outcome } from '../../common/contract'
import { fromNow } from '../lib/util/time'
+import BetRow from './bet-row'
export function AvatarWithIcon(props: { username: string; avatarUrl: string }) {
const { username, avatarUrl } = props
@@ -648,7 +649,7 @@ export function ContractFeed(props: {
return (