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 c8b0d9c commit e00dc80Copy full SHA for e00dc80
example/src/App.jsx
@@ -49,7 +49,7 @@ class App extends React.Component {
49
};
50
51
state = {
52
- isSignedIn: false,
+ isSignedIn: undefined,
53
54
55
/**
@@ -78,7 +78,7 @@ class App extends React.Component {
78
<i className={styles.logoIcon + ' material-icons'}>photo</i> My App
79
</div>
80
<div className={styles.caption}>This is a cool demo app</div>
81
- {!this.state.isSignedIn &&
+ {this.state.isSignedIn !== undefined && !this.state.isSignedIn &&
82
<div>
83
<StyledFirebaseAuth className={styles.firebaseUi} uiConfig={this.uiConfig}
84
firebaseAuth={firebaseApp.auth()}/>
0 commit comments