added menu close button
This commit is contained in:
parent
0acb1f6829
commit
8d8837543b
@ -102,6 +102,7 @@ class App extends Component {
|
|||||||
onUpdateQuery={this.updateQuery}
|
onUpdateQuery={this.updateQuery}
|
||||||
onUpdatePrice={this.updatePrice}
|
onUpdatePrice={this.updatePrice}
|
||||||
onUpdateAfstand={this.updateAfstand}
|
onUpdateAfstand={this.updateAfstand}
|
||||||
|
onToggleMenu={this.onToggleMenu}
|
||||||
onListItemClick={this.onListItemClick}
|
onListItemClick={this.onListItemClick}
|
||||||
showDetails={this.state.showDetails}
|
showDetails={this.state.showDetails}
|
||||||
selectedLocation={this.state.selectedLocation}
|
selectedLocation={this.state.selectedLocation}
|
||||||
|
@ -110,9 +110,6 @@ class LeafletMap extends Component {
|
|||||||
let { afstandKorhoen} = this.props
|
let { afstandKorhoen} = this.props
|
||||||
let { afstandBakkersdijk} = this.props
|
let { afstandBakkersdijk} = this.props
|
||||||
let { activeMarker, activeMarkerProps} = this.state;
|
let { activeMarker, activeMarkerProps} = this.state;
|
||||||
if (markers === undefined || markers.length === 0) {
|
|
||||||
console.log('No markers')
|
|
||||||
}
|
|
||||||
|
|
||||||
const position = [52.079, 5.09]
|
const position = [52.079, 5.09]
|
||||||
return(
|
return(
|
||||||
@ -129,6 +126,7 @@ class LeafletMap extends Component {
|
|||||||
this.setState({ showDetails: false })
|
this.setState({ showDetails: false })
|
||||||
}}
|
}}
|
||||||
onClick={this.onNewSearch}/> */}
|
onClick={this.onNewSearch}/> */}
|
||||||
|
<button onClick={() => this.props.onToggleMenu()}>close</button>
|
||||||
|
|
||||||
|
|
||||||
<div className='priceFilterBlock'>
|
<div className='priceFilterBlock'>
|
||||||
|
Loading…
Reference in New Issue
Block a user