diff --git a/app/js/App.js b/app/js/App.js index 4d4e2df..df6df5f 100644 --- a/app/js/App.js +++ b/app/js/App.js @@ -20,6 +20,9 @@ class App extends React.Component { constructor(props) { super(props); + + this.onUserChange = this.onUserChange.bind(this); + this.state = { currentUser: {} }; diff --git a/app/js/pages/SearchPage.js b/app/js/pages/SearchPage.js index da9d70d..8cac077 100644 --- a/app/js/pages/SearchPage.js +++ b/app/js/pages/SearchPage.js @@ -12,6 +12,9 @@ class SearchPage extends React.Component { constructor(props) { super(props); + + this.handleQueryChange = this.handleQueryChange.bind(this); + this.state = { query: '' }; @@ -33,7 +36,7 @@ class SearchPage extends React.Component {

Your query: {this.state.query}

- +