rename compoenent to right name
This commit is contained in:
parent
e0ca082a57
commit
04a7d2a50b
|
@ -8,7 +8,7 @@ import ContractLogger from '../components/ContractLogger';
|
||||||
import DataWrapper from "../components/DataWrapper";
|
import DataWrapper from "../components/DataWrapper";
|
||||||
import {getContractLogsByContract} from "../reducers/selectors";
|
import {getContractLogsByContract} from "../reducers/selectors";
|
||||||
|
|
||||||
class ContractProfileContainer extends Component {
|
class ContractLoggerContainer extends Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
if (this.props.contractLogs.length === 0) {
|
if (this.props.contractLogs.length === 0) {
|
||||||
this.props.listenToContractLogs();
|
this.props.listenToContractLogs();
|
||||||
|
@ -31,7 +31,7 @@ function mapStateToProps(state, props) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
ContractProfileContainer.propTypes = {
|
ContractLoggerContainer.propTypes = {
|
||||||
contractLogs: PropTypes.array,
|
contractLogs: PropTypes.array,
|
||||||
fetchContractLogs: PropTypes.func,
|
fetchContractLogs: PropTypes.func,
|
||||||
listenToContractLogs: PropTypes.func,
|
listenToContractLogs: PropTypes.func,
|
||||||
|
@ -44,4 +44,4 @@ export default withRouter(connect(
|
||||||
fetchContractLogs: contractLogsAction.request,
|
fetchContractLogs: contractLogsAction.request,
|
||||||
listenToContractLogs: listenToContractLogs
|
listenToContractLogs: listenToContractLogs
|
||||||
}
|
}
|
||||||
)(ContractProfileContainer));
|
)(ContractLoggerContainer));
|
||||||
|
|
Loading…
Reference in New Issue