Fix proptype warnings for asset panel buttons
This commit is contained in:
1 parent
5a4a108e79
commit
b6cf7d894f
1 file changed
+2
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user