diff --git a/react_usse/src/App.js b/react_usse/src/App.js index 81905858..9a87f958 100644 --- a/react_usse/src/App.js +++ b/react_usse/src/App.js @@ -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} diff --git a/react_usse/src/MapContainer.js b/react_usse/src/MapContainer.js index 6d6dc4b2..fc27ecaf 100644 --- a/react_usse/src/MapContainer.js +++ b/react_usse/src/MapContainer.js @@ -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,9 +125,10 @@ class LeafletMap extends Component { this.props.onUpdateQuery(e.target.value) this.setState({ showDetails: false }) }} - onClick={this.onNewSearch}/> */} - + onClick={this.onNewSearch}/> */} + +
  • Maximale prijs
  • {