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
1 merge request!6fix copypasta and typos
......@@ -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} />;
......
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