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