Stop load on fail create market, improve warning
This commit is contained in:
parent
f354c9e118
commit
5fa2925ba8
|
@ -227,7 +227,8 @@ export function NewContract(props: {
|
||||||
|
|
||||||
await router.push(contractPath(result as Contract))
|
await router.push(contractPath(result as Contract))
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('error creating contract', e)
|
console.error('error creating contract', e, (e as any).details)
|
||||||
|
setIsSubmitting(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user