diff --git a/src/App.js b/src/App.js index 3ea2fef6365f6e4e8628810c9ecea311eb717268..77af24204a21eda2150e0a6db9d95f835ce36c75 100644 --- a/src/App.js +++ b/src/App.js @@ -117,7 +117,7 @@ class App extends React.Component { this.storeState("", "", ""); } - isLoged() { + isLoggedIn() { if (!this.state.token) { return false; } @@ -148,7 +148,7 @@ class App extends React.Component { render() { let component = <Panel onLogout={this.logout} />; - if (!this.isLoged()) { + if (!this.isLoggedIn()) { component = <SignIn onLogin={this.login} />; }