Fix DOM error for nested forms

This commit is contained in:
jahooma 2022-01-22 18:38:34 -06:00
parent fd03eb841f
commit 6cc2e6692e

View File

@ -119,7 +119,7 @@ export function NewContract(props: { question: string }) {
if (!creator) return <></>
return (
<form>
<div>
<Spacer h={4} />
<div className="form-control">
@ -226,7 +226,7 @@ export function NewContract(props: { question: string }) {
{isSubmitting ? 'Creating...' : 'Create market'}
</button>
</div>
</form>
</div>
)
}