We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49542c commit 710db22Copy full SHA for 710db22
README.md
@@ -111,16 +111,12 @@ class SignInScreen extends React.Component {
111
firebase.auth.FacebookAuthProvider.PROVIDER_ID
112
],
113
// Avoid redirects after sign-in.
114
- callbacks: {
115
- signInSuccess: () => false
116
- }
+ callbacks: {signInSuccess: () => false}
117
};
118
119
// Listen to the Firebase Auth state and set the local state.
120
componentWillMount() {
121
- firebase.auth().onAuthStateChanged((user) => {
122
- this.setState({signedIn: !!user});
123
- });
+ firebase.auth().onAuthStateChanged((user) => this.setState({signedIn: !!user}));
124
}
125
126
render() {
0 commit comments