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