diff --git a/web/components/contract/contract-card.tsx b/web/components/contract/contract-card.tsx
index 84e2db8f..15dbad67 100644
--- a/web/components/contract/contract-card.tsx
+++ b/web/components/contract/contract-card.tsx
@@ -96,7 +96,7 @@ export function ContractCard(props: {
/>
{showQuickBet ? (
-
+
) : (
@@ -213,8 +222,9 @@ function QuickOutcomeView(props: {
contract: Contract
previewProb?: number
caption?: 'chance' | 'expected'
+ showBar?: boolean
}) {
- const { contract, previewProb, caption } = props
+ const { contract, previewProb, caption, showBar } = props
const { outcomeType } = contract
// If there's a preview prob, display that instead of the current prob
const override =
@@ -242,7 +252,7 @@ function QuickOutcomeView(props: {
{override ?? display}
{caption &&
{caption}
}
-
+ {showBar &&
}
)
}
diff --git a/web/pages/embed/[username]/[contractSlug].tsx b/web/pages/embed/[username]/[contractSlug].tsx
index ff485aae..46c671d2 100644
--- a/web/pages/embed/[username]/[contractSlug].tsx
+++ b/web/pages/embed/[username]/[contractSlug].tsx
@@ -8,16 +8,13 @@ import {
NumericContract,
} from 'common/contract'
import { DOMAIN } from 'common/envs/constants'
+import { useEffect } from 'react'
import { AnswersGraph } from 'web/components/answers/answers-graph'
import BetRow from 'web/components/bet-row'
-import {
- BinaryResolutionOrChance,
- FreeResponseResolutionOrChance,
- NumericResolutionOrExpectation,
-} from 'web/components/contract/contract-card'
import { ContractDetails } from 'web/components/contract/contract-details'
import { ContractProbGraph } from 'web/components/contract/contract-prob-graph'
import { NumericGraph } from 'web/components/contract/numeric-graph'
+import { QuickBet } from 'web/components/contract/quick-bet'
import { Col } from 'web/components/layout/col'
import { Row } from 'web/components/layout/row'
import { Spacer } from 'web/components/layout/spacer'
@@ -114,31 +111,16 @@ function ContractEmbed(props: { contract: Contract; bets: Bet[] }) {
isCreator={false}
disabled
/>
-
- {isBinary && (
-
+
+ {isBinary && (
-
-
- )}
-
- {outcomeType === 'FREE_RESPONSE' && (
-
- )}
-
- {outcomeType === 'NUMERIC' && (
-
- )}
+ )}
+
+
-