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 <></>
|
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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user