File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ class App extends React.Component {
49
49
} ;
50
50
51
51
state = {
52
- signedIn : false ,
52
+ isSignedIn : false ,
53
53
} ;
54
54
55
55
/**
56
56
* @inheritDoc
57
57
*/
58
58
componentDidMount ( ) {
59
59
this . unregisterAuthObserver = firebaseApp . auth ( ) . onAuthStateChanged (
60
- ( user ) => this . setState ( { signedIn : ! ! user }
60
+ ( user ) => this . setState ( { isSignedIn : ! ! user }
61
61
) ;
62
62
}
63
63
@@ -78,13 +78,13 @@ class App extends React.Component {
78
78
< i className = { styles . logoIcon + ' material-icons' } > photo</ i > My App
79
79
</ div >
80
80
< div className = { styles . caption } > This is a cool demo app</ div >
81
- { ! this . state . signedIn &&
81
+ { ! this . state . isSignedIn &&
82
82
< div >
83
83
< StyledFirebaseAuth className = { styles . firebaseUi } uiConfig = { this . uiConfig }
84
84
firebaseAuth = { firebaseApp . auth ( ) } />
85
85
</ div >
86
86
}
87
- { this . state . signedIn &&
87
+ { this . state . isSignedIn &&
88
88
< div className = { styles . signedIn } >
89
89
Hello { firebaseApp . auth ( ) . currentUser . displayName } . You are now signed In!
90
90
< a className = { styles . button } onClick = { ( ) => firebaseApp . auth ( ) . signOut ( ) } > Sign-out</ a >
You can’t perform that action at this time.
0 commit comments