mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 13:36:14 +00:00
Fixing template
This commit is contained in:
parent
20d2e59ae1
commit
9c666fcfba
@ -6,32 +6,6 @@ import ReactDOM from 'react-dom';
|
||||
import { FormGroup, ControlLabel, FormControl, Checkbox, Button, Alert, InputGroup } from 'react-bootstrap';
|
||||
|
||||
|
||||
class {{contractName}}UI extends React.Component {
|
||||
constructor (props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
};
|
||||
}
|
||||
|
||||
render(){
|
||||
return (<div>
|
||||
{{#each functions}}
|
||||
<{{capitalize name}}Form{{@index}} />
|
||||
{{/each}}
|
||||
</div>);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ReactDOM.render(<div>
|
||||
<h1>{{title}}</h1>
|
||||
<{{contractName}}UI />
|
||||
</div>,
|
||||
document.getElementById('app')
|
||||
);
|
||||
|
||||
|
||||
|
||||
{{#each functions}}
|
||||
class {{capitalize name}}Form{{@index}} extends React.Component {
|
||||
constructor(props){
|
||||
|
Loading…
x
Reference in New Issue
Block a user