|
|
|
@ -134,6 +134,7 @@ export default class NetworkForm extends PureComponent { |
|
|
|
|
isSubmitting: true, |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
const { |
|
|
|
|
setRpcTarget, |
|
|
|
|
rpcUrl: propsRpcUrl, |
|
|
|
@ -180,6 +181,12 @@ export default class NetworkForm extends PureComponent { |
|
|
|
|
if (networksTabIsInAddMode) { |
|
|
|
|
onClear() |
|
|
|
|
} |
|
|
|
|
} catch (error) { |
|
|
|
|
log.error('Unexpected error during form submission.', error) |
|
|
|
|
this.setState({ |
|
|
|
|
isSubmitting: false, |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
onCancel = () => { |
|
|
|
|