Skip to content
Snippets Groups Projects
Commit 8cd58276 authored by Quique's avatar Quique
Browse files

fix typo: Loged -> Logged

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