rename compoenent to right name

This commit is contained in:
Jonathan Rainville 2018-08-10 11:12:30 -04:00 committed by Pascal Precht
parent e0ca082a57
commit 04a7d2a50b
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import ContractLogger from '../components/ContractLogger';
import DataWrapper from "../components/DataWrapper";
import {getContractLogsByContract} from "../reducers/selectors";
class ContractProfileContainer extends Component {
class ContractLoggerContainer extends Component {
componentDidMount() {
if (this.props.contractLogs.length === 0) {
this.props.listenToContractLogs();
@ -31,7 +31,7 @@ function mapStateToProps(state, props) {
};
}
ContractProfileContainer.propTypes = {
ContractLoggerContainer.propTypes = {
contractLogs: PropTypes.array,
fetchContractLogs: PropTypes.func,
listenToContractLogs: PropTypes.func,
@ -44,4 +44,4 @@ export default withRouter(connect(
fetchContractLogs: contractLogsAction.request,
listenToContractLogs: listenToContractLogs
}
)(ContractProfileContainer));
)(ContractLoggerContainer));