Fix prop types

This commit is contained in:
Anthony Laibe 2018-08-02 12:44:29 +01:00 committed by Iuri Matias
parent 044cb874f6
commit f5602dad64
2 changed files with 2 additions and 2 deletions

View File

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

View File

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