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 7338524 commit d18f77cCopy full SHA for d18f77c
example/src/App.jsx
@@ -56,9 +56,9 @@ class App extends React.Component {
56
* @inheritDoc
57
*/
58
componentDidMount() {
59
- this.unregisterAuthObserver = firebaseApp.auth().onAuthStateChanged(
60
- (user) => this.setState({isSignedIn: !!user})
61
- );
+ this.unregisterAuthObserver = firebaseApp.auth().onAuthStateChanged((user) => {
+ this.setState({isSignedIn: !!user});
+ });
62
}
63
64
/**
0 commit comments