Skip to content

Commit

Permalink
update simplebeds app
Browse files Browse the repository at this point in the history
  • Loading branch information
metagrover committed Apr 19, 2017
1 parent 4432af0 commit 844026e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions examples/simplebeds/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Main extends Component {

<RangeSlider
componentId="PriceSensor"
appbaseField={this.props.mapping.price}
appbaseField="price"
title="Price Range"
defaultSelected={{
start: 10,
Expand Down Expand Up @@ -111,7 +111,7 @@ class Main extends Component {
<div className="row">
<ResultCard
componentId="SearchResult"
appbaseField={this.props.mapping.name}
appbaseField="name"
from={0}
size={12}
onData={this.onData}
Expand All @@ -129,13 +129,4 @@ class Main extends Component {
}
}

Main.defaultProps = {
mapStyle: "Blue Water",
mapping: {
name: "name",
location: "location",
price: "price"
}
};

ReactDOM.render(<Main />, document.getElementById("app"));

0 comments on commit 844026e

Please sign in to comment.