mirror of
https://github.com/maputnik/editor.git
synced 2025-12-24 07:00:01 +00:00
Removed required from minzoom/maxzoom as it can be undefined.
See <https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-minzoom>
This commit is contained in:
@@ -6,7 +6,7 @@ import NumberInput from '../inputs/NumberInput'
|
||||
|
||||
class MaxZoomBlock extends React.Component {
|
||||
static propTypes = {
|
||||
value: React.PropTypes.number.isRequired,
|
||||
value: React.PropTypes.number,
|
||||
onChange: React.PropTypes.func.isRequired,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user