Alex Krolick
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
content/docs/conditional-rendering.md
|
|
@ -93,7 +93,7 @@ class LoginControl extends React.Component { |
|
|
|
render() { |
|
|
|
const isLoggedIn = this.state.isLoggedIn; |
|
|
|
|
|
|
|
let button = isLoggedIn ? ( |
|
|
|
const button = isLoggedIn ? ( |
|
|
|
<LogoutButton onClick={this.handleLogoutClick} /> |
|
|
|
) : ( |
|
|
|
<LoginButton onClick={this.handleLoginClick} /> |
|
|
|