Skip to content
Snippets Groups Projects
Commit 64046acc authored by Quique's avatar Quique
Browse files

typo: Loged -> Logged

The past participle of log in is logged in.
<https://www.wordhippo.com/what-is/the-past-tense-of/log_in.html>
parent 0bd26243
Branches loged
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ class App extends React.Component { ...@@ -117,7 +117,7 @@ class App extends React.Component {
this.storeState("", "", ""); this.storeState("", "", "");
} }
isLoged() { isLoggedIn() {
if (!this.state.token) { if (!this.state.token) {
return false; return false;
} }
...@@ -148,7 +148,7 @@ class App extends React.Component { ...@@ -148,7 +148,7 @@ class App extends React.Component {
render() { render() {
let component = <Panel onLogout={this.logout} />; let component = <Panel onLogout={this.logout} />;
if (!this.isLoged()) { if (!this.isLoggedIn()) {
component = <SignIn onLogin={this.login} />; component = <SignIn onLogin={this.login} />;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment