mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 08:30:02 +00:00
Removed isRequired from label incase null.
This commit is contained in:
@@ -12,7 +12,7 @@ export default class Block extends React.Component {
|
||||
label: PropTypes.oneOfType([
|
||||
PropTypes.string,
|
||||
PropTypes.element,
|
||||
]).isRequired,
|
||||
]),
|
||||
action: PropTypes.element,
|
||||
children: PropTypes.node.isRequired,
|
||||
style: PropTypes.object,
|
||||
|
||||
Reference in New Issue
Block a user