diff --git a/web/components/bet-inline.tsx b/web/components/bet-inline.tsx index 7eda7198..64780f4b 100644 --- a/web/components/bet-inline.tsx +++ b/web/components/bet-inline.tsx @@ -22,7 +22,7 @@ import { formatMoney } from 'common/util/format' export function BetInline(props: { contract: CPMMBinaryContract | PseudoNumericContract className?: string - setProbAfter: (probAfter: number) => void + setProbAfter: (probAfter: number | undefined) => void onClose: () => void }) { const { contract, className, setProbAfter, onClose } = props @@ -82,7 +82,7 @@ export function BetInline(props: {