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