Fix icon prop types in BrowserListItem

This commit is contained in:
Bill Thornton 2021-03-19 10:11:03 -04:00
parent 76dd90371d
commit b3478e81af

View File

@ -29,7 +29,10 @@ const BrowserListItem = ({ item, index }) => (
BrowserListItem.propTypes = {
item: PropTypes.shape({
name: PropTypes.string.isRequired,
icon: PropTypes.string.isRequired,
icon: PropTypes.shape({
name: PropTypes.string.isRequired,
type: PropTypes.string.isRequired
}).isRequired,
url: PropTypes.string.isRequired
}).isRequired,
index: PropTypes.number.isRequired