Skip to content
Snippets Groups Projects
Commit dfbe25b7 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Fix proptypes for backpack contents

parent 2195088f
Branches
No related tags found
No related merge requests found
......@@ -84,12 +84,12 @@ const Backpack = ({contents, error, expanded, loading, onToggle}) => (
);
Backpack.propTypes = {
contents: PropTypes.shape({
contents: PropTypes.arrayOf(PropTypes.shape({
id: PropTypes.string,
thumbnailUrl: PropTypes.string,
type: PropTypes.string,
name: PropTypes.string
}),
})),
error: PropTypes.bool,
expanded: PropTypes.bool,
loading: PropTypes.bool,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment