Fix prop types

This commit is contained in:
Anthony Laibe 2018-08-02 12:44:29 +01:00 committed by Pascal Precht
parent 80c2b9f439
commit 8787e72444
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ const Accounts = ({accounts}) => (
); );
Accounts.propTypes = { Accounts.propTypes = {
accounts: PropTypes.object accounts: PropTypes.arrayOf(PropTypes.object)
}; };
export default Accounts; export default Accounts;

View File

@ -35,7 +35,7 @@ const Blocks = ({blocks}) => (
); );
Blocks.propTypes = { Blocks.propTypes = {
blocks: [PropTypes.object] blocks: PropTypes.arrayOf(PropTypes.object)
}; };
export default Blocks; export default Blocks;