mirror of https://gitlab.com/ecentrics/concordia
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
511 B
23 lines
511 B
import React, { Component } from 'react';
|
|
import {connect} from "react-redux";
|
|
|
|
class HomeContainer extends Component {
|
|
render() {
|
|
return (<div className="App">
|
|
<div className="section">
|
|
<h1>Active Account</h1>
|
|
{this.props.accounts[0]}
|
|
</div>
|
|
</div>);
|
|
}
|
|
}
|
|
|
|
const mapStateToProps = state => {
|
|
return {
|
|
accounts: state.accounts,
|
|
Forum: state.contracts.Forum,
|
|
drizzleStatus: state.drizzleStatus
|
|
};
|
|
};
|
|
|
|
export default connect(mapStateToProps)(HomeContainer);
|
|
|