diff --git a/web/components/amount-input.tsx b/web/components/amount-input.tsx index 783d8f19..d4724c2a 100644 --- a/web/components/amount-input.tsx +++ b/web/components/amount-input.tsx @@ -8,6 +8,7 @@ import { Bet } from '../../common/bet' import { Spacer } from './layout/spacer' import { calculateCpmmSale } from '../../common/calculate-cpmm' import { Binary, CPMM, FullContract } from '../../common/contract' +import { SiteLink } from './site-link' export function AmountInput(props: { amount: number | undefined @@ -65,7 +66,16 @@ export function AmountInput(props: { {error && (
- {error} + {error === 'Insufficient balance' ? ( + <> + Not enough funds. + + Buy more? + + + ) : ( + error + )}
)}