diff --git a/embark-ui/src/components/Accounts.js b/embark-ui/src/components/Accounts.js index 06176c81..5917cfc2 100644 --- a/embark-ui/src/components/Accounts.js +++ b/embark-ui/src/components/Accounts.js @@ -40,7 +40,7 @@ const Accounts = ({accounts}) => ( ); Accounts.propTypes = { - accounts: PropTypes.object + accounts: PropTypes.arrayOf(PropTypes.object) }; export default Accounts; diff --git a/embark-ui/src/components/Blocks.js b/embark-ui/src/components/Blocks.js index ba78b70c..ef986d6a 100644 --- a/embark-ui/src/components/Blocks.js +++ b/embark-ui/src/components/Blocks.js @@ -35,7 +35,7 @@ const Blocks = ({blocks}) => ( ); Blocks.propTypes = { - blocks: [PropTypes.object] + blocks: PropTypes.arrayOf(PropTypes.object) }; export default Blocks;