Fix DOM error for nested forms
This commit is contained in:
parent
fd03eb841f
commit
6cc2e6692e
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user