29 lines
566 B
JavaScript
29 lines
566 B
JavaScript
import web3 from "Embark/web3"
|
|
import EmbarkJS from 'Embark/EmbarkJS';
|
|
import React from 'react';
|
|
|
|
import ProposalForm from './proposal-form';
|
|
import ProposalContainer from './proposal-container';
|
|
import StatusBar from './status-bar';
|
|
|
|
class VotingDapp extends React.Component {
|
|
|
|
constructor(props) {
|
|
super(props);
|
|
this.state = {
|
|
|
|
};
|
|
}
|
|
|
|
render(){
|
|
return <div>
|
|
<StatusBar {...this.props} />
|
|
<ProposalContainer />
|
|
<ProposalForm />
|
|
</div>;
|
|
}
|
|
|
|
}
|
|
|
|
export default VotingDapp;
|