From 495f3e153f16aa8d7f3a88a5691fb59033eb24e5 Mon Sep 17 00:00:00 2001 From: Noah Schutte Date: Tue, 2 Aug 2016 11:44:25 -0400 Subject: [PATCH] apply code style --- src/components/FBLogin.js | 3 ++- src/components/new_request.js | 7 +++++-- src/components/requests.js | 12 +----------- src/components/signin.js | 12 ++++++------ src/components/user_profile.js | 14 ++++++++------ src/main.js | 3 ++- 6 files changed, 24 insertions(+), 27 deletions(-) diff --git a/src/components/FBLogin.js b/src/components/FBLogin.js index 947c0189..20345582 100644 --- a/src/components/FBLogin.js +++ b/src/components/FBLogin.js @@ -1,10 +1,11 @@ import React, { Component } from 'react'; import { View } from 'react-native'; -import FBSDK, { AccessToken, LoginButton, LoginManager, GraphRequest, GraphRequestManager } from 'react-native-fbsdk'; +import FBSDK, { AccessToken, LoginButton, GraphRequest, GraphRequestManager } from 'react-native-fbsdk'; export default class Login extends Component { constructor(props) { super(props); + this.state = { user: null }; diff --git a/src/components/new_request.js b/src/components/new_request.js index dc290cd2..11bf7b2b 100644 --- a/src/components/new_request.js +++ b/src/components/new_request.js @@ -7,7 +7,7 @@ export default class NewRequest extends Component { super(props) this.state = { - title: 'Placeholder', + title: '', city: '', state: '', pizzas: '', @@ -17,7 +17,10 @@ export default class NewRequest extends Component { render() { return ( -