diff --git a/bikeshop_project/assets/js/components/SignIn.jsx b/bikeshop_project/assets/js/components/SignIn.jsx index 7ee087d..4cf6246 100644 --- a/bikeshop_project/assets/js/components/SignIn.jsx +++ b/bikeshop_project/assets/js/components/SignIn.jsx @@ -41,6 +41,10 @@ export default class SignIn extends React.Component { }); } + onUpdateSearchText(searchText) { + this.setState({ searchText }); + } + chooseMember(chosenRequest, index) { const member = this.state.members[index]; const purpose = this.state.signOn.purpose; @@ -48,10 +52,6 @@ export default class SignIn extends React.Component { this.setState({ ...this.state, signOn: { member, purpose } }); } - onUpdateSearchText(searchText) { - this.setState({ searchText }); - } - signIn() { const purpose = this.state.signOn.purpose; const member = this.state.signOn.member;