Skip to content

Commit

Permalink
remove note and debugging log
Browse files Browse the repository at this point in the history
  • Loading branch information
noahschutte committed Aug 28, 2016
1 parent 6255d79 commit 1855576
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/NewRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export default class NewRequest extends Component {
} else {
this.setState({errorMessage: ' '})

// Submit new request form
const {
title,
pizzas,
Expand All @@ -64,7 +63,6 @@ export default class NewRequest extends Component {
.then((response) => {
return response.json()})
.then((responseJson) => {
console.log(responseJson);
this.setState({errorMessage: responseJson.errorMessage})
if (this.state.errorMessage === 'Request has been created.') {
this.props.navigator.pop();
Expand Down Expand Up @@ -143,8 +141,9 @@ export default class NewRequest extends Component {
</Text>


<Button text={'Submit Request'} onPress={this.onSubmitRequest.bind(this)} />

<Button text={'Submit Request'}
onPress={this.onSubmitRequest.bind(this)}
/>
</View>
);
}
Expand Down

0 comments on commit 1855576

Please sign in to comment.