mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 17:01:16 +01: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:
parent
e148607c7a
commit
bb4f3482ad
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ import NumberInput from '../inputs/NumberInput'
|
||||||
|
|
||||||
class MaxZoomBlock extends React.Component {
|
class MaxZoomBlock extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
value: React.PropTypes.number.isRequired,
|
value: React.PropTypes.number,
|
||||||
onChange: React.PropTypes.func.isRequired,
|
onChange: React.PropTypes.func.isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import NumberInput from '../inputs/NumberInput'
|
||||||
|
|
||||||
class MinZoomBlock extends React.Component {
|
class MinZoomBlock extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
value: React.PropTypes.number.isRequired,
|
value: React.PropTypes.number,
|
||||||
onChange: React.PropTypes.func.isRequired,
|
onChange: React.PropTypes.func.isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue