mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
Alert for error invoking functions
This commit is contained in:
parent
a247c43080
commit
cab6b889b5
@ -86,6 +86,11 @@ class {{capitalize name}}Form{{@index}} extends React.Component {
|
||||
render(){
|
||||
return <div className="formSection">
|
||||
<h3>{{name}}</h3>
|
||||
{
|
||||
this.state.error != null ?
|
||||
<Alert bsStyle="danger">{this.state.error}</Alert>
|
||||
: ''
|
||||
}
|
||||
<form>
|
||||
{{#if inputs.length}}
|
||||
{{#each inputs}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user