Fix proptype warnings for asset panel buttons

This commit is contained in:
Paul Kaplan committed 2018-03-12 09:17:34 -04:00
1 parent 5a4a108e79
commit b6cf7d894f
1 file changed
+2 -2
+2 -2
View File
@@ -59,9 +59,9 @@ const Selector = props => {
Selector.propTypes = {
buttons: PropTypes.arrayOf(PropTypes.shape({
message: PropTypes.string.isRequired,
title: PropTypes.string.isRequired,
img: PropTypes.string.isRequired,
onClick: PropTypes.func.isRequired
onClick: PropTypes.func
})),
items: PropTypes.arrayOf(PropTypes.shape({
url: PropTypes.string,