create: handle null
This commit is contained in:
parent
fae28fed7c
commit
dc2fada751
|
@ -182,7 +182,7 @@ export function NewContract(props: { question: string; tag?: string }) {
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<AmountInput
|
<AmountInput
|
||||||
amount={ante}
|
amount={ante ?? undefined}
|
||||||
minimumAmount={MINIMUM_ANTE}
|
minimumAmount={MINIMUM_ANTE}
|
||||||
onChange={setAnte}
|
onChange={setAnte}
|
||||||
error={anteError}
|
error={anteError}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user