mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-26 18:30:40 +01:00
Removed isRequired from label incase null.
This commit is contained in:
parent
a46c834874
commit
3ad487dce7
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue