From 04a7d2a50b1e709e93401f8af399e952452b4b0e Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 10 Aug 2018 11:12:30 -0400 Subject: [PATCH] rename compoenent to right name --- embark-ui/src/containers/ContractLoggerContainer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embark-ui/src/containers/ContractLoggerContainer.js b/embark-ui/src/containers/ContractLoggerContainer.js index ecf37479..c99cf9f1 100644 --- a/embark-ui/src/containers/ContractLoggerContainer.js +++ b/embark-ui/src/containers/ContractLoggerContainer.js @@ -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));