Skip to content

Commit

Permalink
Add missing prop
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Apr 29, 2020
1 parent 473ca94 commit 4e93f49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/LayerTree.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ class LayerTree extends React.Component {
enableVisibleFilter: PropTypes.bool,
infoInSettings: PropTypes.bool,
showToggleAllLayersCheckbox: PropTypes.bool,
addLayerSeparator: PropTypes.func
addLayerSeparator: PropTypes.func,
zoomToExtent: PropTypes.func
}
static defaultProps = {
layers: [],
Expand Down Expand Up @@ -609,7 +610,8 @@ module.exports = {
reorderLayer: reorderLayer,
toggleMapTips: toggleMapTips,
setSwipe: setSwipe,
setActiveLayerInfo: setActiveLayerInfo
setActiveLayerInfo: setActiveLayerInfo,
zoomToExtent: zoomToExtent
})(LayerTree),
reducers: {
layers: require('../reducers/layers'),
Expand Down

0 comments on commit 4e93f49

Please sign in to comment.