From f645119ea6b3d0f952e1411c329ea00d0176b800 Mon Sep 17 00:00:00 2001 From: emizzle Date: Tue, 30 Oct 2018 21:36:47 +0100 Subject: [PATCH] Fix console errors/warnings --- embark-ui/src/components/Description.js | 4 ++-- embark-ui/src/containers/AppContainer.js | 2 +- embark-ui/src/containers/CommunicationContainer.js | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/embark-ui/src/components/Description.js b/embark-ui/src/components/Description.js index 2e23a6bb7..8120c0579 100644 --- a/embark-ui/src/components/Description.js +++ b/embark-ui/src/components/Description.js @@ -9,8 +9,8 @@ const Description = ({label, value}) => ( ); Description.propTypes = { - label: PropTypes.string, - value: PropTypes.string + label: PropTypes.any, + value: PropTypes.any }; export default Description diff --git a/embark-ui/src/containers/AppContainer.js b/embark-ui/src/containers/AppContainer.js index b1083bc19..1db7acf8b 100644 --- a/embark-ui/src/containers/AppContainer.js +++ b/embark-ui/src/containers/AppContainer.js @@ -137,7 +137,7 @@ AppContainer.propTypes = { theme: PropTypes.string, changeTheme: PropTypes.func, fetchTheme: PropTypes.func, - history: PropTypes.instanceOf(History) + history: PropTypes.object }; function mapStateToProps(state) { diff --git a/embark-ui/src/containers/CommunicationContainer.js b/embark-ui/src/containers/CommunicationContainer.js index b17130b40..780497dba 100644 --- a/embark-ui/src/containers/CommunicationContainer.js +++ b/embark-ui/src/containers/CommunicationContainer.js @@ -53,7 +53,8 @@ CommunicationContainer.propTypes = { isOldWeb3: PropTypes.bool, isWeb3Enabled: PropTypes.bool, messages: PropTypes.object, - messageChannels: PropTypes.array + messageChannels: PropTypes.array, + fetchVersions: PropTypes.func }; function mapStateToProps(state) {