create: handle null

This commit is contained in:
mantikoros 2022-02-05 19:10:26 -06:00
parent fae28fed7c
commit dc2fada751

View File

@ -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}