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>
|
||||
<AmountInput
|
||||
amount={ante}
|
||||
amount={ante ?? undefined}
|
||||
minimumAmount={MINIMUM_ANTE}
|
||||
onChange={setAnte}
|
||||
error={anteError}
|
||||
|
|
Loading…
Reference in New Issue
Block a user