Fix prop types
This commit is contained in:
parent
80c2b9f439
commit
8787e72444
|
@ -40,7 +40,7 @@ const Accounts = ({accounts}) => (
|
|||
);
|
||||
|
||||
Accounts.propTypes = {
|
||||
accounts: PropTypes.object
|
||||
accounts: PropTypes.arrayOf(PropTypes.object)
|
||||
};
|
||||
|
||||
export default Accounts;
|
||||
|
|
|
@ -35,7 +35,7 @@ const Blocks = ({blocks}) => (
|
|||
);
|
||||
|
||||
Blocks.propTypes = {
|
||||
blocks: [PropTypes.object]
|
||||
blocks: PropTypes.arrayOf(PropTypes.object)
|
||||
};
|
||||
|
||||
export default Blocks;
|
||||
|
|
Loading…
Reference in New Issue