2018-05-21 20:15:46 +00:00
|
|
|
import web3 from "Embark/web3"
|
|
|
|
import EmbarkJS from 'Embark/EmbarkJS';
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import ProposalForm from './proposal-form';
|
|
|
|
import ProposalContainer from './proposal-container';
|
2018-05-22 13:49:22 +00:00
|
|
|
import StatusBar from './status-bar';
|
2018-05-21 20:15:46 +00:00
|
|
|
|
|
|
|
class VotingDapp extends React.Component {
|
|
|
|
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
this.state = {
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
render(){
|
|
|
|
return <div>
|
2018-05-22 15:11:53 +00:00
|
|
|
<StatusBar {...this.props} />
|
2018-05-21 20:15:46 +00:00
|
|
|
<ProposalContainer />
|
|
|
|
</div>;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export default VotingDapp;
|