mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 13:36:14 +00:00
rename compoenent to right name
This commit is contained in:
parent
d0d919ea06
commit
91481bd350
@ -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…
x
Reference in New Issue
Block a user