Skip to content

Commit

Permalink
Improve naming in state ref #22
Browse files Browse the repository at this point in the history
  • Loading branch information
philawsophizing committed Jun 6, 2017
1 parent e42b09d commit 01c2d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/select_guesthouse.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SelectGuesthouse extends Component {
this.state = {
title: 'PAS',
tagLine: 'Park & Sleep',
db: [],
guestHouseList: [],
currentGuestHouse: {},
};
this.currentGuestHouse = this.currentGuestHouse.bind(this);
Expand Down Expand Up @@ -44,7 +44,7 @@ class SelectGuesthouse extends Component {
<Header />
<TextBox />
<SearchList
db={this.state.db}
db={this.state.guestHouseList}
updateCurrent={this.currentGuestHouse} />
</div>
);
Expand Down

0 comments on commit 01c2d4f

Please sign in to comment.