diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx
index c638fcde..7a918948 100644
--- a/web/components/bet-panel.tsx
+++ b/web/components/bet-panel.tsx
@@ -42,6 +42,7 @@ import { useUnfilledBets } from 'web/hooks/use-bets'
import { LimitBets } from './limit-bets'
import { PillButton } from './buttons/pill-button'
import { YesNoSelector } from './yes-no-selector'
+import { InfoBox } from './info-box'
export function BetPanel(props: {
contract: CPMMBinaryContract | PseudoNumericContract
@@ -72,6 +73,7 @@ export function BetPanel(props: {
+
+
+ {!user && }
{unfilledBets.length > 0 && (
@@ -94,6 +99,14 @@ export function BetPanel(props: {
)
}
+const PlayMoneyDisclaimer = () => (
+
+)
+
export function SimpleBetPanel(props: {
contract: CPMMBinaryContract | PseudoNumericContract
className?: string
@@ -124,6 +137,7 @@ export function SimpleBetPanel(props: {
+
+
+ {!user && }
{unfilledBets.length > 0 && (
@@ -688,32 +705,35 @@ function LimitOrderPanel(props: {
function QuickOrLimitBet(props: {
isLimitOrder: boolean
setIsLimitOrder: (isLimitOrder: boolean) => void
+ hideToggle?: boolean
}) {
- const { isLimitOrder, setIsLimitOrder } = props
+ const { isLimitOrder, setIsLimitOrder, hideToggle } = props
return (
Bet
-
- {
- setIsLimitOrder(false)
- track('select quick order')
- }}
- >
- Quick
-
- {
- setIsLimitOrder(true)
- track('select limit order')
- }}
- >
- Limit
-
-
+ {!hideToggle && (
+
+ {
+ setIsLimitOrder(false)
+ track('select quick order')
+ }}
+ >
+ Quick
+
+ {
+ setIsLimitOrder(true)
+ track('select limit order')
+ }}
+ >
+ Limit
+
+
+ )}
)
}
diff --git a/web/components/info-box.tsx b/web/components/info-box.tsx
index 34f65089..21bcde47 100644
--- a/web/components/info-box.tsx
+++ b/web/components/info-box.tsx
@@ -20,7 +20,7 @@ export function InfoBox(props: {