Merge pull request #1013 from embark-framework/bug_fix/console-errors

Fix console errors/warnings
This commit is contained in:
Eric Mastro 2018-10-30 21:59:06 +01:00 committed by GitHub
commit e23e13b418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -9,8 +9,8 @@ const Description = ({label, value}) => (
); );
Description.propTypes = { Description.propTypes = {
label: PropTypes.string, label: PropTypes.any,
value: PropTypes.string value: PropTypes.any
}; };
export default Description export default Description

View File

@ -137,7 +137,7 @@ AppContainer.propTypes = {
theme: PropTypes.string, theme: PropTypes.string,
changeTheme: PropTypes.func, changeTheme: PropTypes.func,
fetchTheme: PropTypes.func, fetchTheme: PropTypes.func,
history: PropTypes.instanceOf(History) history: PropTypes.object
}; };
function mapStateToProps(state) { function mapStateToProps(state) {

View File

@ -53,7 +53,8 @@ CommunicationContainer.propTypes = {
isOldWeb3: PropTypes.bool, isOldWeb3: PropTypes.bool,
isWeb3Enabled: PropTypes.bool, isWeb3Enabled: PropTypes.bool,
messages: PropTypes.object, messages: PropTypes.object,
messageChannels: PropTypes.array messageChannels: PropTypes.array,
fetchVersions: PropTypes.func
}; };
function mapStateToProps(state) { function mapStateToProps(state) {